JUnit FAQ - 0 views
-
They effectively communicate in an executable format how to use the software. They also prevent tendencies to over-build the system based on speculation. When all the tests pass, you know you're done!
- ...6 more annotations...
-
Frequent testing gives you confidence that your changes didn't break anything and generally lowers the stress of programming in the dark.
-
For larger systems, you may just run specific test suites that are relevant to the code you're working on.
-
Don't forget to use this as a learning opportunity. Perhaps the defect could have been prevented by being more aggressive about testing everything that could reasonably break.