How I run tests
In recent weeks I've learned that it's not just writing tests that's important to me, but actually how I use them to benefit my development that matters as well. »
In recent weeks I've learned that it's not just writing tests that's important to me, but actually how I use them to benefit my development that matters as well. »
When I write my Ruby tests, I'm a big fan of using test doubles and asserting those doubles receive messages with the correct arguments. I guess I like to practice what Justin Searls calls Discovery Testing »