| ▲ | 9dev a year ago | ||||||||||||||||
If I write a bunch of tests for new code, and all of them pass on the first attempt, I'm immediately suspicious of a far more egregious bug hiding somewhere… | |||||||||||||||||
| ▲ | throwanem a year ago | parent | next [-] | ||||||||||||||||
Where feasible, I like to start a suite with a unit test that validates the unit's intended side effects actually occur, as visible in their mocks being exercised. | |||||||||||||||||
| |||||||||||||||||
| ▲ | michaelcampbell a year ago | parent | prev | next [-] | ||||||||||||||||
"never trust a test you've never seen fail." has kept me honest on more than one occasion. | |||||||||||||||||
| ▲ | noisy_boy a year ago | parent | prev [-] | ||||||||||||||||
// Todo: remove return true; | |||||||||||||||||
| |||||||||||||||||