Hoofdstuk 5 - Testing Flashcards
You’re responsible for setting up a test program. To whom will you assign the responsibility to write tests? Why?
Every developer should write their own tests (unit tests) + test team (integrations tests)
Explain why basis path testing, condition testing and loop testing complement each other.
Because they tests various aspects of the path.
Why is mutation coverage a better criterion for assessing the strength of a test suite?
Explain what FIT tables are.
When would you combine top-down testing with bottom-up testing? Why?
When integrating multiple modules to try to test as much as possible.
When would you combine black-box testing with white-box testing? Why?
When you want to sufficiently test a module. White-box testing is less relevant in OO.
Is it worthwhile to apply white-box testing in an OO context?
Sequence & collaboration diagrams serve a better way to apply white-box testing an an OO context, thus it is worthwhile enough.
What makes regression testing important?
It’s a huge help during maintenance, it helps ensure that all things still work when applying changes.
Is it acceptable to deliver a system that is not 100% reliable? Why?
Completely reliable is almost impossible, thus it is more acceptable to deliver a system with a mean time between failures.
Explain the subtle difference between code coverage and test coverage.