The Testing Strategy

Now that we have a handle on the intent of the singleton, we can focus on the value added by that intent. Given that we have two separate sets of intent, we can try to focus on testing the intents separately and hopefully simplify our testing problem.

Get Quality Code: Software Testing Principles, Practices, and Patterns 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.