AQA A2 Computing 7.3 Testing Flashcards
What are the 12 testing strategies?
Bottom-up testing Top-down testing (aka interface testing or stub testing) Mixed-level testing Dry running (aka hand tracing, walkthroughs or desk checking) White-box testing (aka structural testing) Black-box testing Unit testing Integration testing System testing Alpha testing Beta testing Acceptance testing
Bottom-up testing
The system is developed from the bottom up and the lowest-level modules are tested first.
Top down testing (aka interface testing or stub testing)
A skeleton of the complete system is tested. Functionality is added module by module from the top-down and tested as it is added.
Mixed level testing
A combination of top-down and bottom-up testing is used as different approaches are taken
Dry running (aka hand tracing, walkthroughs or desk checking)
Code is read through and checked by hand. A trace table is completed to check the values of the variables at every stage of execution
White-box testing (aka structural testing)
Tests are derived from a knowledge of the program code. Tests are devised to execute every possible path through the program.
Black-box testing (aka functional testing)
Tests are derived from the program specification. Test cases are devised that test all of a programs inputs. The outputs are then examined for correctness.
Unit testing
Each function, method or procedure is tested individually for correctness.
Integration testing
Tests that separately developed modules work together as planned