3 ms·
Unit tests vs acceptance tests. You shouldn't be afraid to throw away unit tests if the implementation changes, and acceptance tests should verify behavior at A
by ForHackernews 7mo ago
Unit tests vs acceptance tests. You shouldn't be afraid to throw away unit tests if the implementation changes, and acceptance tests should verify behavior at API boundaries, ignoring implementation details.
- hinkley 7mo agoBDD helps with this as it can allow you to get the setup out of the tests making it even cheaper for someone to yeet a defunct test.