Nunit Testing...??
-
Hiya all, Is it good practice to use NUnit Testing..?? What are the advantage n disadvantage of using Nunit testing.. Well i dont think its good if the application is not that big. Anyway i would like to know the experienced developers comment on this.... Thanks
-
Hiya all, Is it good practice to use NUnit Testing..?? What are the advantage n disadvantage of using Nunit testing.. Well i dont think its good if the application is not that big. Anyway i would like to know the experienced developers comment on this.... Thanks
It's unit testing with NUnit and not NUnit testing.:-D (A subtle, but important distinction because there are other unit testing frameworks). This is a large topic, and I will attempt to give you a succinct answer which explains why I use it on all projects. NUnit (and other frameworks) allow you to write repeatable tests. If you change your code, simply rerun the tests and check that you get the correct values. This all depends, of course, on your unit tests actually testing your code effectively. Now, this is all well and good, but where NUnit (and the other frameworks) comes into its own is with Test Driven Development (TDD). This approach means that you write unit tests before you actually write the code. You then build up your code and unit tests little bit by little bit until you can prove that the code works properly.
Please visit http://www.readytogiveup.com/ and do something special today. Deja View - the feeling that you've seen this post before.