Chapter 12. Unit Testing Algorithms

Unit Testing Algorithms

"What a curious feeling!" said Alice."I must be shutting up like a telescope!"

And so it was indeed: she was now only 10 inches high, and her face brightened at the thought that she was now the right size for going through the little door into that lovely garden.[75]

One of the main messages in this book has been "test smarter, not harder"—that is, write fewer tests that each cover more code. If done using the techniques we've described, you can actually improve your effective test coverage while having fewer test cases (but comparatively more test scenarios, or "inputs" and their "expected outputs," for each test ...

Get Design Driven Testing: Test Smarter, Not Harder 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.