Non-Functional Testing Flashcards
Does testing only touch upon functional behaviour?
No! You can test on many different non-functional qualities:
- Usability
- Performance
- Reliability
- Maintainability
- Portability
- Security
What are some testing targets if we are focusing on performance?
Does the system work well in its environment? - Respond quick enough - respond under reasonable load? - use reasonable system resources ...
What is a reasonable load?
Difficult to determine! This is always changing and you will have to adapt.
What is Ratcheting?
It allows progressive performance enhancements!
Take a test suite, take a subset of that suite and measure off of a threshold.
Lower that threshold until you break the system!
What are ways to simply test performance?
simulate realistic loads:
- Goldilocks Principle: not too fast, not too slow.
- realistic is determined based on passed experiences and estimates.
Stress testing:
- quantifying conditions under which a system (or its components) will break.
Steal ideas from other disciplines!
- look at research relating to human attention span for example, and conform to that.
Define stress testing!
High load
Sustained load
Sudden spike of load
All of the above.