Unit Testing Template

Topic updated 16-5-2007

The Unit Testing Template can be a powerful tool to make sure that your project produces a BO-Layer that is ready for use. Unit testing your BO-Layer will help you:

Detect problems in the data of your database
Detect problems in the schema of your database
Detect problems in your mapping configuration
Test your implementation of business rules

The Unit Testing Template uses the NUnit unit testing framework.

The Tutorials section has a topic on writing your own unit tests. This provides an excellent way to test specific business logic that you've added to your BO-Layer.

 
Whenever you have the Unit Testing Template added to your project there is that an extra source file containing unit tests is generated for each Table Template in your project.

AddingUnitTesting3