Home » Microsoft » 70-498 » What should you do?
You are developing an application that has several automated builds that build, perform code analysis, and unit test portions of your code. Your team also performs peer review for code changes in an informal manner.
You need to meet the following requirements:
Provide documentation on quality checks and reviews for any changes to the code base.
Ensure code quality.
Maintain your team’s efficiency.
What should you do?
A. Institute gated check-ins to the build process.
B. Deny developers check-in permissions. Allow them to shelve changes and have a senior team member check in the shelve-set after review.
C. Utilize the Code Review work items and workflow before check-ins.
D. Perform a weekly code review on subset of recent check-ins.
Correct Answer: C
Explanation/Reference:
Code reviews are a critical part of software development. Not only do they help you keep you defect-count down, they are also a great way to learn from other people’s code. Code reviews also allow teams to communicate changes to the application with their peers.
Note: Visual Studio 2012 includes a Code Review process out of the box by leveraging the Team Foundation Server Work Item Tracking system along with the use of shelvesets. All the information is easily accessible through the redesigned Team Explorer window and Team Foundation Server Web Access. This allows code reviewers to compare code files, annotate them, and send comments back to the requester.
Reference: New Code Review feature in Visual Studio 2012