5.1.6 Test Pyramid Flashcards

(10 cards)

1
Q

The test pyramid is a model showing that different tests may have d…

A

different granularity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The test pyramid model supports the team in t… and in t… by showing that different t… are supported by different levels of t…

A

test automation
test effort allocation
test objectives
test automation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The pyramid layers represent g…

A

groups of tests.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The higher the layer, the l… , the lower the test isolation (i.e. the d… on other elements … ) and the higher the t…

A

lower the test granularity
degree of dependency
of the system
test execution time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Tests in the bottom layer are “s…“, “ “, “f…“, and check a small p… so usually a lot of them are needed to a…

A

small
isolated
fast
piece of functionality
achieve a reasonable coverage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The top layer represents:
- “c…”
- h…
- e…

A
  • complex
  • high-level
  • end-to-end tests.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

These high-level tests are generally slower than tests from the l… , and they typically check a large piece o… , so usually just a few of them are needed to achieve a reasonable l…

A

lower layers
of functionality
level of coverage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The number and naming of the l…

A

layers may differ.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Example: the original pyramid model defines three layers:
- un…
- ser…
- UI “t…”.

A
  • unit tests
  • service tests
  • tests
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

example : another popular model defines:
- un…
- in…
- e…

Other test levels can also be “ “.

A
  • unit (component) tests
  • integration (component integration) tests
  • end-to-end tests.

used

How well did you know this?
1
Not at all
2
3
4
5
Perfectly