Don't DRY your tests
There are two primary goals in a good test: documentation and assertion. When humans read code, good tests will show how that code was intended to be used—that's a type of documentation. But tests are also code and work as an assertion of behavior—be...
Aug 21, 20183 min read