Posts Tagged With 'tdd'
Do you write your tests after the fact?
Written by Grigory Rechistov in Uncategorized on 25.02.2024. Tags: tdd, tests,
Do you write your tests after corresponding production code has been written? Do you run your new test, see it pass, consider the job done and then move on onto the next task?
Here is a thought experiment for you. I hope it will illustrate a problem with this approach …
Production code does not test the tests
Written by Grigory Rechistov in Uncategorized on 11.01.2023. Tags: tdd, tests, refactoring,
There is one thing that has bothered me about the asymmetry of relation between the production code and the test code. People often say: “Your tests test the production code, and production code ensures the tests are not broken”.
But it did not feel right. Especially after learning the principle …