View RSS Feed

My Java Tips

Costs of Unit Testing

Rate this Entry
by , 05-21-2011 at 10:09 PM (1120 Views)
Unit testing brings a lot of benefits but there is some cost for this. Lets talk about this.

Unit tests require skill and time. Often managers dont appreciate unit tets because they regard it something othere than development. Ofcource client in not interested in unit tests but management needs to understand that these tests will save a lot of debugging effort in future.

For unit testing to really deliver, all developers need to use it. Mostly due to lack of communicationm unit tests are only used by developers who write those. There should be smome training and everyone in the development team should be informed about the tests.

Anoher cose is that when software base changes in an important way, the unit tests must be discarded or substantially rewritten.

Submit "Costs of Unit Testing" to Facebook Submit "Costs of Unit Testing" to Digg Submit "Costs of Unit Testing" to del.icio.us Submit "Costs of Unit Testing" to StumbleUpon Submit "Costs of Unit Testing" to Google

Tags: unit testing Add / Edit Tags
Categories
JUnit

Comments