How to review code using TFS?

Possible duplicate:
Team Foundation Server website code verification tools

We have about 4 developers, and we use TFS for version control.

We would like to provide a code review so that verified codes are reviewed by peer members for performance, design, and standards.

What tool would you recommend us to help this? (open source and with hope)

I found this from Google: http://teamreview.codeplex.com/ , and I'm trying to check how this works.

Thanks,

+6
source share
4 answers

I'm not sure how this will apply to you, but here. I changed our WIT process template (using TFS tools ) so that the state after registering the code is "Awaiting code verification." Then you need to assign this WI to another user who will move it to the Closed state if the code check is in order or return to the assigned one if it fails.

So, the process transitions now look something like this:

  Assigned --Check-In -> Code Review --Success -> Closed
     ^ ------- Failed --------- |

This is far from ideal, and it is mainly based on the processes that we had with Subversion and a separate bug tracking system, but it works.

In other news, VS 11 looks like this: out of the box (also here - taken from Ewald’s answer).

+8
source

I do not know any tools as such, but when using TFS in a small team, I found that it was just supporting the changes on the shelveset . Thus, other developers could look at any other shelves and go through the code difference at the time. They can also ignore changes on their machines if they want to check the compilation and execution of the code.

Something else you can do to help verify that your code is correct is writing unit tests and putting them under code verification. In this way, the testing system can help you identify potential behavioral defects that could be overlooked by the code browser.

+1
source

It won’t help you right now, but Dev11 (which is currently available as a preview for developers) contains a code overview. You can see a good overview on the session from Jamie Cool at // BUILD .

So, before making important decisions, you can wait a couple of months before you can use it in your daily work.

Ewald Hoffman - TFS Program Manager

+1
source

I can recommend an assistant review code review tool . It integrates with Visual Studio 2010 and 2012 and works with TFS. As I can see from your post, the process of checking the code after the transaction is preferable for you. This exact model is implemented in the tool.

+1
source

Source: https://habr.com/ru/post/905182/


All Articles