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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.