3 ms·
> Then your test code needs to take into account the current state ... [ etc ] ... and you're on your way to writing an application, not a test! Tests should
by kazinator 5y ago
> Then your test code needs to take into account the current state ... [ etc ]
... and you're on your way to writing an application, not a test!
Tests should be as simple as possible, and a clean slate goes a long way toward that.
A test should be riddled with as few "needs to do" responsibilities as possible while still achieving the intended coverage.