Zusammenfassung der Ressource
Testing Strategies
- White Box/Structural Coverage
- Internal structure of the system
- Tests all logical paths through the software
- Statement Coverge
- One test for a straight path
- Tests for every statement in the software e.g. if..for
- Branch Coverage
- Every possible path for each statement e.g. T or F
- Condition Coverage
- Every possible condition for each input variable
- Data Flow Coverage
- All possible paths data can follow e.g. defined-used, defined-killed
- Black Box/Functional Coverage
- Focuses on the functional requirements of the system
- Given a certain input the correct output is produced
- Validation
- Tests are generated from the use cases
- From this you come up with a set of inputs both good and bad
- Bad: Too little data, invalid data
- Good: Nominal data
- Use Cases must be kept up-to-date for results to
be accurate