3 All classes in Mono libraries should have comprehensive unit test
4 suites to go with them. Unit testing is a software engineering
5 methodology that makes it easier to build correct code. Every
6 method in every class should have a set of tests to verify
7 that they work correctly. Mono also needs a testing framework
8 to make it easy to write and run lots of tests.
10 Try <a href="http://nunit.sourceforge.net">NUnit</a>
12 Why do unit testing? It becomes simple to run automated tests
13 for the whole library. Unit tests are a safety net - you can
14 change part of the code and verify that you haven't broken
15 anything. Ideally, tests are written before the actual library
16 code itself. And every time a bug is discovered, a test should
17 be written to demonstrate the bug and its fix. Then, if
18 you ever reintroduce the bug, you will know immediately. For
20 href="http://nunit.sourceforge.net/doc/testinfected/testing.html">
21 JUnit Test Infected: Programmers Love Writing Tests</a>.