3 ms·
How can you write tests if you're familiar with what the code is supposed to do?
by zorbo 12y ago
How can you write tests if you're familiar with what the code is supposed to do?
- hrjet 12y agoThe tests are one way to express your understanding of the code. If the tests you have written fail, then you can focus and improve your understanding in that part of the code. And if they pass, you can be reasonably assured of your understanding.