Unit Test Sample
The "Woodgrove Bank" sample is a project that you can build into a simple program. You can then generate unit tests that test the various methods, both public and private, of the Woodgrove Bank program.
Generating tests from this sample produces unit tests on two properties, three public methods, one private method, and one class.
Note
For general information about how to use samples, see How to: View and Download Samples.
The files in this sample are provided for use in the following walkthroughs:
Walkthrough: Creating and Running Unit Tests. This walkthrough leads you through the steps to create and customize unit tests, run them, and examine the test results.
Walkthrough: Run Tests and View Code Coverage. This walkthrough illustrates how to view code coverage data, which shows the proportion of your project's code that is being tested.
Walkthrough: Using the Command-line Test Utility. In this walkthrough, you use the MSTest.exe command-line utility to run tests and view results.