One important step I think is missing here is to make sure the test fails before writing any code, I often find myself writing tests that pass before implementing the feature, these tests have no real value and may even be counterproductive as you may end up with an incorrect implementation while thinking it's fine
One important step I think is missing here is to make sure the test fails before writing any code, I often find myself writing tests that pass before implementing the feature, these tests have no real value and may even be counterproductive as you may end up with an incorrect implementation while thinking it's fine
Nice point, many people forget about this, if a tests works first time I'm always worried and try to break the code to see if it's really working