- Have a continuous integration solution in place. Really. If you don’t, you just burn money by writing tests.
I would go so far and say, if you don’t have continuous integration, you should stop writing unit tests and do click testing.
- The definition of “tests pass” is “tests pass on the continous integration system”. “Works for me” has neither a place in the bugtracker nor everywhere else.
- If you can’t test it, the architecture is most likely wrong...