How to Use Check-in Policies to Improve Check-in Quality

- J.D. Meier, Jason Taylor, Alex Mackman, Prashant Bansode

Use a combination of code analysis and testing policies to improve check-in quality. For example, use the default testing check-in policy to ensure that specific tests are executed and passed prior to allowing source to be checked into TFS source control. You can also configure a code analysis policy to help ensure that your code meets certain quality standards by ensuring that security, performance, portability, maintainability, and reliability rules are passed.

To enforce a code analysis check-in policy for a team project
  1. In Team Explorer, right-click your team project, select Team Project Settings, and then click Source Control
  2. Click the Check-in Policy tab.
  3. Click Add and then select and configure the code analysis and testing policies.

Additional Resources

Last edited Jul 26, 2007 at 6:50 AM by prashantbansode, version 1

Comments

No comments yet.