2.2 Test levels and test types Flashcards

1
Q

What are test levels?

A

groups of test activities that are organised and managed together
Each test level is an instance of the test process, performed in relation to software at a given stage of development, from individual components to complete systems or, where applicable, systems of systems.

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

How are test levels related to each other?

A

the test levels are often defined such that the exit criteria of one level are part of the entry criteria for the next level
In some iterative models, this may not apply. Development activities may span through multiple test levels. Test levels may overlap in time.

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

What are test types?

A

groups of test activities related to specific quality characteristics and most of those test activities can be performed at every test level.

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

What are the five test levels?

A
  1. Component testing / Unit testing
  2. Component (unit) integration testing
  3. System testing
  4. System integration testing
  5. Acceptance testing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is component testing?

A

(also known as unit testing) focuses on testing components in isolation. It often requires specific support, such as test harnesses or unit test frameworks.

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

Who performs component testing?

A

normally performed by developers in their development environments

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

What is component integration testing?

A

focuses on testing the interfaces and interactions between components. Component integration testing is heavily dependent on the integration strategy approaches like bottom-up, top-down or big-bang

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

What is system testing?

A

focuses on the overall behavior and capabilities of an entire system or product, often including functional testing of end-to-end tasks and the non-functional testing of quality characteristics.

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

What type of environment do you perform system testing?

A

representative test environment (e.g., usability). Using simulations of sub-systems is also possible

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

What is system integration testing?

A

focuses on testing the interfaces of the system under test and other systems and external services . System integration testing requires suitable test environments preferably similar to the operational environment.

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

What is acceptance testing?

A

focuses on validation and on demonstrating readiness for deployment, which means that the system fulfills the user’s business needs.

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

Who should perform acceptance testing?

A

Ideally, acceptance testing should
be performed by the intended users

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

What are the main forms of acceptance testing?

A

user acceptance testing (UAT)
operational acceptance testing
contractual and regulatory acceptance testing,
alpha testing
beta testing.

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

How are test levels distinguished?

A

by the following non-exhaustive list of attributes, to avoid overlapping of test activities:
* Test object
* Test objectives
* Test basis
* Defects and failures
* Approach and responsibilities

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

What are the four test types?

A

Functional testing
Non-functional testing
Black-box testing
white-box testing

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

What is functional testing?

A

evaluates the functions that a component or system should perform. The functions are “what” the test object should do. The main objective of functional testing is checking the functional completeness, functional correctness and functional appropriateness

17
Q

What is non-functional testing?

A

evaluates attributes other than functional characteristics of a component or system. Non-functional testing is the testing of “how well the system behaves”. The main objective of nonfunctional testing is checking the non-functional software quality characteristics.

18
Q

Which standard provides the classification of non-functional software quality?

A

ISO/IEC 25010

19
Q

What non-functional quality standards does the ISO/IEC 25010 specify?

A
  • Performance efficiency
  • Compatibility
  • Usability
  • Reliability
  • Security
  • Maintainability
  • Portability
20
Q

What is black-box testing?

A

specification-based and derives tests from documentation external to the test object. The main objective of black-box testing is checking the system’s behavior against its specifications.

21
Q

What is white box testing?

A

structure-based and derives tests from the system’s implementation or internal structure (e.g., code, architecture, work flows, and data flows). The main objective of white-box testing is to cover the underlying structure by the tests to the acceptable level.

22
Q

What is confirmation testing?

A

confirms that an original defect has been successfully fixed. Depending on the risk, one can test the fixed version of the software in several ways, including:
* executing all test cases that previously have failed due to the defect, or, also by
* adding new tests to cover any changes that were needed to fix the defect

23
Q

When time or money is short, how might confirmation testing be restricted?

A

simply exercising the steps that should reproduce the failure caused by the defect and checking that the failure does not occur.

24
Q

What is regression testing?

A

confirms that no adverse consequences have been caused by a change, including a
fix that has already been confirmation tested. These adverse consequences could affect the same component where the change was made, other components in the same system, or even other connected systems.

25
Q

How would you optimise the extent of regression testing?

A

Perform an impact analysis to optimise the extent of regression testing

26
Q

Why is regression testing a strong candidate for automated tests?

A
  • Regression test suites are run many times
  • generally the number of regression test cases will increase with each iteration or release