by bigmanwalter · 6y ago · 0 comments
Only this way does TDD not interfere with development velocity.
Of course, if all you have is a basic CRUD app, then there's not much testable "core" code that you can separate from your framework, so TDD and unit tests are probably not the best idea. IMO end-to-end and integration tests are the way to go anyway.
I like running my tests almost as often as I compile my code. If they run fast enough, it creates the most addictive feedback loop for TDD.
Besides, we should be measuring the time to write tests against the time it takes to manually test. If you don't execute tests every time you make a change, you're not really sure if your code works. And manual testing just means we have no idea whether or not our code works.