Unit testing works — if you follow these best practices.

https://alm.parasoft.com/top-5-unit-testing-best-practices Whitepaper Education - How-tos