…sed tests for your system, ideally covering all use cases, but handling major ones is a good start. These tests must rely on your high level public APIs, just beneath the user interface. Then have some performance tests for the performance sensitive parts of the application; add to the…