3 ms·
I don't know, it's not that hard. Write acceptance tests (with Cucumber or something), use a good unit test helper like Shoulda for your standard unit tests, a
by jarin 15y ago
I don't know, it's not that hard.
Write acceptance tests (with Cucumber or something), use a good unit test helper like Shoulda for your standard unit tests, and write unit tests for any complicated methods.
The acceptance tests will cover pretty much everything, and the unit tests will cover anything that's hard to test from a high-level point of view.