Similarly, writing tests often feels good.
We think:“Having confidence in my code is important and writing tests will get me there!”Also wrong.
The Cost of a bug being introduced depends on a lot of things like:If an automated test doesn’t catch the issue, what will?
I’d go as far as saying this test was downright harmful in this case: not everyone on the team is convinced automated testing is worth their time.
Sometimes its better to write a test to test-drive your code and then to delete the test after you’ve developed it.

Comments to: Maybe Don’t Write That Test – Philosophical Hacker

Your email address will not be published. Required fields are marked *

Attach images - Only PNG, JPG, JPEG and GIF are supported.

Login

Welcome to Typer

Brief and amiable onboarding is the first thing a new user sees in the theme.
Join Typer
Registration is closed.