One assertion per test, please
Posted on Wed 25 July 2012 in Coding • Tagged with assertion, qunit, testrules, javascript
When it comes to unit or integration tests, there are of course good ones and bad ones. There are few things more treacherous than a test suite filled with low-quality tests that don’t test what they’re supposed to, if anything at all. When the test suite goes green …
Continue reading