Testing Flashcards
What is a test model?
Defines all test related decisions and components
What is a test driver?
Program that executes the test
What is input data?
The input data
What is oracle?
The system compares the expected results with actual results
What is a test harnesses?
Framework/sw that allows to run tests under various conditions (also needed for automated testing)
What is a fault?
Bug!
What is validation?
Activity for checking the deviations between the observed behaviour and its specifications of a system
What is a error?
State where further processing leads to failure
What is a failure?
Any deviation from the observed behaviour between the specified behaviour
What is the testing activity for object design?
Unit testing
What is the testing activity for system design?
Integration testing
What is the testing activity for requirements analysis?
System testing
What is the testing activity for client expectations?
Acceptance testing
What is unit testing? (Junit)
Focuses on individual components (class or subsystem)
Goal: confirm that the component or subsystem is correctly coded and carries out the intended functionality
Techniques:
Black-box and white box testing
What is black-box testing?
Focus on I/O behaviour
If for any given input, we can predict the output, then the unit passes the test.
Goal: reduce number if test cases by equivalence partitioning.