coming from a project with number of unit tests in it (hundreds i believe), it's hard to work around our current project without it. we're near the release of the project and we still have 31 unit and integration test cases for the .NET client application. the count does not include my own set of unit tests since they are in vba code embedded in an excel workbook which is the output of our application (i'm using test code modules using debug.assert statements).
there are times when one of my teammates (who was also involved in the said previous project) is afraid to commit. it was mainly because we don't have proper unit tests to backup the implemented and functioning feature set.
there was a time when i joined them to fix some bugs at crunch time and its a PITA to run the app just to be able to test the functionality and go back to the usual debugging mode. you can't introduce test cases when time is not on your side or you'll surely get home late. i have never attempted it and just promise to include some afterwards but i think i really never did (:p).
but not to undermine the 31 test cases, they were able to filter out around ten failed commits, thanks to out continuous integration setup. most of them are persistence tests and i'm thankful that they do have some minor role/use in our project (i think i wrote six of them, :p).
Posted
01-30-2007 9:40 PM
by
jokiz