2 ms·
It sounds like you write your tests based on the code you write rather than its expected behaviour. You can write a good set of tests when you know the initial
by jeremysmyth 12y ago
It sounds like you write your tests based on the code you write rather than its expected behaviour.
You can write a good set of tests when you know the initial requirements, and not all requirements iterate at the same rate as the code. As you learn new requirements, you write new tests. The old ones don't go away (nor do the early requirements if they're good), even if you completely replace the implementing code.
- fixermark 12y ago> You can write a good set of tests when you know the initial requirements Throwaway prototypes are part of the requirement discovery process.