C9: Unit Testing in C Flashcards
What are mistakes in software called?
bugs
What is software verification?
Verification is making sure software fulfills its specification.
What is software validation?
Validation means making sure the software fulfills the users’ needs (acceptance tests).
What are the different methods of software verification?
Formal proofs, reviews, analysis and tests.
- formal proofs…
- reviews - code reviews, design reviews,…
- analysis - static code analysis, dynamic resource usage measurements,…
- Tests - model driven, unit tests, …
What is test automation?
using a tool to execute tests automatically (instead of manually)
What is model-driven (automated) testing?
model-driven (automated) testing means using a (formal) model of the software under test to create test cases (and pass criteria) automatically.
What is regression testing?
Regression testing is repeating existing tests again to make sure that modifications in previously tested software did not cause any new bugs or otherwise break the system.
What are the different kind of tests?
- Unit tests (test one unit), 2. integreation tests (test multiple units) and
- system tests (test whole system)
What are the different kinds of system tests?
- functional tests
- performance tests
- stress tests
- user interface tests
- recovery tests
- failover tests
What are performance tests?
A type of system test: Performance test: tests behaviour of system (e.g. reaction time) in specified workload boundaries
What are stress tests?
A type of system test: Stress test: performance test that overloads the system.
What are recovery tests?
A type of system test: Recovery test: tests if system can recover
after (full) system failure.
What are failover tests?
A type of system test: Failover test: tests if system works as specified during (partial) system failure
What is an integration test?
Integration testing checks the interplay of several units and checks whether they work together correctly.
What is a resource test?
It is a test to see whether modules misbehave due to scarce resources (integration testing).