Sections on this page...
Unit testing became prevalent with Java's JUnit, but C#'s NUnit has really pushed it to new areas.
The articles on this page explore various unit testing concepts, and sometimes help evolve unit testing to the next
level of Test Driven Desgin (TDD).
Note: Once you embrace TDD your code magically starts working better and you will see large shortcomings in your old code.
It is a big effort to fully understand TDD, but it is worth every bit of that effort.
NUnit is essential for any serious coder. Download it immediately.
NUnit is the .Net implementation of JUnit, and the best automated testing application I've ever worked with.
Download it immediately and try it. In my experience, most people dont 'get it' until they've used it a few times, so start now. It's worth it.
Test-Driven Development Is Not About Testing
An excellent article which illustrates that TDD is not really about testing, but about writing better code. ALL DEVELOPERS SHOULD READ THIS ARTICLE.
Article about NUnit
This is an extensive explanation of why to test code, how to write novels, NUNit, Unit testing and VS integration with unit testing. It is correct in every aspect of what it says, and is recommended reading, but I must warn you that it does need some editing.
Testing ASP.NET Applications with NUnitASP
NUNitASP, an open-source (MIT license) application that provides NUNit tetsn for APS.NET pages. It creates all the server-side web- and html-control objects present on your page, whose properties you can manipulate and whose events you can fire. Then, you can check the results (of a postback or cross-page navigation).
Extreme Web Architectures - Testing Web sites in Seconds
This article discusses the concept of Extreme Web Architectures that are designed to maximise testability and also ensure that a full regression test can be conducted in under 1 minute. It also describes a real life architecture built with those goals in mind. The architecture enables the developer to test very quickly all HTML pages without having to load the pages into a browser.
Struts test cases
Description of how to do test cases for struts. Not realy relevant to this page, but a good read if you are interested in test frameworks.