Testing 1 (V-Model) Flashcards
What is the purpose of the V-Model?
Provides a structured model of the SDLC to implement development stages with associated tests.
What are the 3 positives of V-Model?
Simple, Manageable, Structured.
What are 3 negatives of the V-Model?
- Not easily modified retrospectively.
- Not ideal for development with lots of changes.
- No working software until late in the SDLC.
Which SDLC methodology is the V-Model based on?
Waterfall.
What are the 5 development stages with their associated testing stages?
- Concept of Operations : System Validation
- System requirements : System verification and deployment
- High level design : Subsystem verification
- Detailed design : Unit / device testing
- Implementation
What are the 4 testing categories? Define each…
Static : Assessing documents
White Box : Testing on the code level. Assessing code for bugs.
Black Box : Testing on the function level. without interacting with the code. Assessing whether program runs as intended.
Grey Box : Testing when some of the implementation concepts are known, and no code is exposed.
What is the purpose of code coverage? And why do we only chose to cover a %?
Track how much of the code has been tested.
Chose a certain % as it’s infeasible to test all code.
What type of testing does code coverage take into account?
White Box Testing.
What are the 4 code coverage types?
Decisions : Has every decision been met and tested?
Statements : Have statements been executed?
Predicate : Have all predicated been run?
Methods : Have all methods been run and tested?
Define a corner case?
Testing the extreme cases of the input field.
What are the 2 limits of testing?
Large Domain - Inputs may be infinite, thus infeasible to test all inputs.
Asserted Incorrectness - Testing can only assert that the program runs incorrectly under certain conditions, not that it can run correctly under certain conditions. This is because the set of correct conditions is too large and ambigous.
When is the V-model ideal to use?
When the project is small, and has unambiguous and pre-defined requirements.