Types of Testing

Stress Testing

Stress testing is operating a system under conditions that come close to exhausting the resources needed by the system. This may be filling RAM with objects, filling the hard drive with records, or filling internal data structures. One of our favorite tests is to rapidly move the mouse back and forth. This can cause the mouse move-events queue to overflow. If this condition is not handled properly a program will crash.

Object-oriented systems will usually be stressed by creating a large number of instances of classes. Select those classes that are likely to actually have a large number of instances in normal operation. Use random number generators or other devices to vary the values of parameters since this is ...

Get A Practical Guide to Testing Object-Oriented Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.