10. Testing Types Flashcards
Goals of testing
Testing is the process of examining the system, and its subsystems and components to determine its operational characteristics and whether it contains any defects
Four functional testing types
- Unit testing - test of an individual method, class or component
- Integration testing - test the behaviour of a group of methods, classes or components
- System and stress testing - test of an entire system or independent subsystems
- Acceptance testing - test to determine whether a method, class or system functions according to the requirements
Five non functional tests
- Alpha- and beta tests - used to test the software in real-life circumstances
- Performance testing - the process of testing to determine the performance
- Stress test - often a program is written that issues multiple requests to the system that is being tested
- Security test - the system is tested for security holes
- User experience/Usability testing
Black box vs. White box testing
Black box - a test that is written/performed without knowing the internals (we don’t know anything)
White box - (we know everything)
Top-down implementation
You start by developing high level units (main) and then make the ones on the next levels until you have reached the bottom
Bottom-up implementation
You start by implementing the functions on the lowest level and work your way up level by level until you have reached the top level
Two types of freeze
Feature freeze: no new features are added, only bugs fixed
Code freeze: the code should not be touched
Heuristic evaluation
Experts inspect the interface using for example the five key principles