Exploratory Unit Testing
The unit tests you’ve learned to build capture your best understanding of the intents in the code. They cover known edge cases and typical use cases.
Some code may demand further exploration. For example, complex code, code that seems to keep breaking as you uncover more nuances about the input data, or code that incurs a high cost if it were to fail. Systems requiring high reliability or security might incur significant costs from unit-level failures.
Numerous kinds of developer-focused tests exist to help you with such exploratory testing. Many of them verify at the integration level—load tests, failover tests, performance tests, and contract tests, to name a few. You can learn about some of these in Alexander Tarlinder’s ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access