March 2015
Intermediate to advanced
236 pages
5h 26m
English
Unit tests provide many significant benefits when crafted with care. But your tests also represent code you must write and maintain. You and your team can lose lots of time and sleep due to the following problems with your tests:
Tests that make little sense to someone following them
Tests that fail sporadically
“Tests” that don’t prove anything worthwhile
Tests that require a long time to execute
Tests that don’t sufficiently cover the code
Tests that couple too tightly to implementation, meaning that small changes break lots of tests all at once
Convoluted tests that jump through numerous setup hoops
In this chapter you’ll learn some key concepts and a few simple tactics that can help make your tests ...
Read now
Unlock full access