Testing Flashcards
Define Traceability
Property of an artifact being traceable to original requirement
How can you record traceability?
Traceability Matrix
Links req. and validation process.
Ensures all requirements are tested in test protocols
What is Software Testing
Process of validating or verifying a software meets requirements that guided its design and development
Detect program errors, not to show its free of errors.
Test Driven Development
Every step in the development process must start with a plan to verify it.
Do not create an artifact until you know how it will be tested.
Steps of TDD
- select feature for implementation
- Code for tests, write code that implements feature, verify and validate using tests.
- if result meets expectations, move on
- otherwise identify and fix problem.
WriteCode->WriteTest->RunTest->VandV
Goal of testing
find faults as cheaply and quickly as possible
Strategies alongside testing
- design/code review, or SAS
- test automation -> regression
- Test early and often
Static testing
- No execution
- simulates dynamic environment
involves:
syntax check, document walkthrough/inspection, correctness proofs.
Dynamic testing
- Execute code
- Checked against expected behaviour.
- Validity not guaranteed unless exhaustive tested