TFS11 (vNext): Code Review

This is the next part in my series of TFS vNext posts:
Part 1: The My Work Tab
Part 2: Pending Changes

Code reviews are a really important part of developing software and should be implemented (in one form or another) by all dev teams.  Prior to TFS11, there were many different attempts at creating a code review workflow with the various tools provided to us.  Some of them were better than others, but at the end of the day, most automated solutions didn’t deliver. 

VS11 integrates this new functionality in the My Work tab that I went over earlier.  As you can see here, I have 2 pending changes and the “Request Review” link is available for me:
image

Clicking on that link navigates me to the New Code Review section, where I can enter the person that I want as a reviewer, code review name, area path, comments, and edit the items that should be reviewed.  You can even submit the Code Review request to more than one person by clicking on the “Add Reviewer” link.
 image

Once that is submitted, I can see my code review under My Work:
image

So what is happening behind the scenes? Two new Work Items types were introduced:  Code Review Request and Code Review Response.  If I click on the “Open as Query” link on the above screenshot, you can see those work items:
image

The valid states for the request are “Requested” and “Closed”.  The states for the response are “Requested”, “Accepted”, “Closed”.

And this is what the reviewer sees:
image

Double-clicking on the review:
image

Clicking on the Accept button, displays the Finish button where I can select from a set of options: “Looks Good”, “With Comments”, “Needs Work”
image

Once the review comes back to me from the reviewer, I can close it as abandoned or complete:
image     image

So again, lots of integration, and it just works.  I’m really excited about this feature!

About esteban

Esteban is the Founder and Chief Technologist at Nebbia Technology, an ALM consulting and Azure-powered technology company. He is a software developer with a passion for ALM, TFS, Azure, and software development best practices. Esteban is a Microsoft Visual Studio ALM MVP and ALM Ranger, Pluralsight author, and the president of ONETUG (Orlando .NET User Group).

3 thoughts on “Dev Connections–Full Day ALM Workshop

  1. Constan

    Thanks your Recipe share with us and when i search jerky then i find this website and got nice information about jerky please keep up it and share another recipe
    service

  2. Rijwan

    I have created Programmatically work items for code review request and response. After completing review process, when I check tries to check-in reviewed code at that time I am unable to see related work item in an explorer window. Please suggest.

    Thanks in advance

  3. Rijwan

    I have created Programmatically work items for code review request and response. After completing review process, when I check tries to check-in reviewed code at that time I am unable to see related work item in an explorer window. Please suggest.

    Thanks in advance .


Leave a Reply

Your email address will not be published. Required fields are marked *

Are you human? *