CHAPTER 9
A brief discussion of the fundamentals of testing is relevant to unit testing.
First, it is assumed that two other vital pieces of any software development project are in place:
Microsoft provides integration of these pieces with Visual Source Safe, SharePoint, and other products.
If you do not have both of these pieces already in place, stop now. These are vital components of a good solid unit testing process.
If you discover a bug, either through using the application or a failed unit test:
If the bug is not reported by a unit test but was discovered through using the code (either another developer or a user):
With your source control system:
Then:
With your source control system:
By working with a bug-tracking and version-control system, anyone (from manager to junior programmer) can easily review:
This makes life a lot easier for the developer team, the management, and even the end-user if your project is set up such that the end-user is interested in this level of detail. (For example, if software is developed in-house for another department, others might be interested in knowing when a bug is fixed.)
Integration with other technologies such as SharePoint can facilitate the communication between team members, managers, and other departments. Also, using sophisticated source control tools such as Perforce and continuous integration tools such as CruiseControl.NET will further integrate and automate the use of source control with unit testing, integration testing, reporting tools, and so forth.