The 4 Test Types (K2) Flashcards
What is Functional testing ?
Functional testing evaluates the functions that a component or system should perform.
The functions are “what” the test object should do.
Main objective : Checking the functional completeness, functional correctness and functional appropriateness.
What is Non-functional testing ?
Non-functional testing evaluates attributes other than functional characteristics of a component or system. It is testing on “how well the system behaves”.
Main objective : Checking the non-functional software quality characteristics;
- Performance efficiency
- Compatibility
- Usability
- Reliability
- Security
- Maintainability
- Portability
Many non-functional tests are derived from functional tests as they use the same functional tests.
What is Black-box testing ?
Black-box testing is specification-based and derives tests from documentation external to the test object.
Main objective: Checking the system’s behavior against its specifications.
What is White-box testing ?
Used in static testing.
White-box testing is structure-based and derives tests from the system’s implementation or internal structure (code, architecture, work-flows, and data flows)
Main objective : to cover the underlying structure by the tests to an acceptable level.
White-box coverage measures provide an objective measurement of coverage and the necessary information to
allow additional tests to be generated to increase this coverage, and subsequently increase confidence in
the code.
Two code-related test techniques:
- Statement testing
- Branch testing