I would be interested in hearing some real-world success stories using Unit
testing. Our company employed it and I have to honestly say that it really
didn't help much. I would completely accept the fact that we did it
incorrect, or used it improperly since this was our first time using it, but
it just didn't save us from that many bugs.
Do people typically have the developers who write the code write the unit
tests? Do you people typically have their QA department write the tests?
The most practical use we found for unit testing was for "after-the-fact"
testing. In other words, we identified what area caused a bug, and then
wrote a unit test to make sure that it was fixed. That way we can regression
test easier in the future. But, I'm interested in other people's thoughts
and experiences on this topic. I hear a lot of people point towards NUnit,
but I never hear how it was used in the field.
We do web applications, so we used NunitASP as well, but used classic NUnit
for our libraries.
Thanks,
Ben
SBC said:
There's also csUnit (
http://www.csunit.org/index.php).
There's also a weblog posting about unit testing tools:
http://weblogs.asp.net/sbchatterjee/posts/29566.aspx
SBC
Sebastien Lambla said:
I may add the excellent NUnit Addin for integration with visual studio.net
http://weblogs.asp.net/NUnitAddin/
You can also look at mock objects, which are a different approach of unit
testing...
--
Sebastien Lambla
http://thetechnologist.is-a-geek.com/blog/
"Jon Skeet [C# MVP]" <
[email protected]> a écrit dans le message de (e-mail address removed)...
I'm looking for unit-testing tools for .NET.
Somthing like Java has -->
http://www.junit.org
See
http://nunit.sf.net - and please limit your cross-posting in
future.