Unit 4 - Developing test plans Flashcards
What is a test case ?
A document that contains a set of tests to help the programmer verify that the code works as expected.
What is white box testing ?
A method of testing which examines the underlying structure of the application or code which has been developed
Who can do white box testing ?
The tester must know how the code works
What are the advantages of WBT ?
- allows each line of code to be tested
- hidden errors are found
- programmers are familiar with the code
What are the disadvantage of WBT ?
- must have an experienced programmer
- large-scale programs can be time consuming
- some conditions might not be tested due to time restrictions
What is Black box testing ?
Where the tester is unaware of the internal structure of the application they are testing
What does BBT focus on testing ?
inputs and outputs
What are the advantages of BBT ?
- identifies where user requirements aren’t being met
- tester don’t need to know about the code
What are the disadvantages of BBT ?
- not all program pathways are tested
- the reason for a test failure cannot be determined
- repetition of tests may occur
What is unit testing ?
Testing one module or unit of code to ensure it’s working as expected. the logic of the code is tested
Is unit testing WBT or BBT ?
WBT
What is integration testing ?
When a number of units have been tested they are grouped together and tested together
What is it called when number of units have been grouped together ?
a sub-system
What is system testing ?
Testing carried out on the complete and fully integrated system.
Is system testing WBT or BBT ?
BBT
List a few features of test plan ?
- introduction
- testing approach
- testing environment
- test strategy
What is extreme data ?
to test if the system can cope with very large or very small values (usually the upper and lower limits)
What is valid data ?
to ensure that the system works as expected
What is invalid data ?
used to ensure the system can process invalid data without crashing
What is null data ?
to see what the system does when no data is entered