[liblamp-developers] Test-Driven development
Status: Pre-Alpha
Brought to you by:
noah1989
From: Stefan N. <noa...@go...> - 2008-06-07 09:15:25
|
Hi all, Whereas the README suggests to write the Unit tests after you have written the code, i am just thinking about if it would be better to write the tests first. I have just experienced that wirting tests afterwards is less fun than writing them before and making everything work step by step. What do you think about it? I will try to follow the "strict" unit testing principles. By the way I add an XML comment to every method with test-proven behavior. finally everything should contain such a remark with a reference to the relevant test. when modifying something covered by a test be sure not to break the test and to check your new functionality by extending the test cases. happy coding, stefan. -- Check out my open source .NET physics library project at http://liblamp.sourceforge.net |