4 ms·
Usually you want to fix the code that's failing a test. The assumption is that your test is right. That's TDD. Then you write your code to conform to the tests
by kaydub 9mo ago
Usually you want to fix the code that's failing a test.
The assumption is that your test is right. That's TDD. Then you write your code to conform to the tests. Otherwise what's the point of the tests if you're just trying to rewrite them until they pass?