How can I configure the Visual Stuidio 2010 Test Results window to automatically expand the Group By sections after a test run?

I am currently working on a large C # .NET 4.0 project and am doing this with TDD aproach.

In our unit tests, we adopted a naming pattern based on one in Roy Overshore's " The Art of Unit Testing ". Essentially for each class “XXX” we have the corresponding test class “XXXFacts”, and each method [TestMethod] in this class is called with the template “[Method name / Prop] [sate / result] [preconditions]”, for example, AccessLevel_IsInvalid_WhenNotAuthenticated "

Now, to see the test results, I just set up the test results window to add a ClassName column that looks normal but takes up a lot of horizontal screen, as you can see; enter image description here

Then I opened the "Group by" option in the window. This does as the name suggests, and grouped the output by class name, so I can remove the duplicate coulmn and get more space for any eror message text.

however, every time I run my tests, the view that I give has a group by content, like this:

enter image description here

What I would like to do is to somehow configure the Visual Stuidio 2010 test results window to automatically expand the "Group by" sections after the test run so that it looks right after the test run;

enter image description here

, , FAILED, .

, , TDD !

, , , , . , .

+3

All Articles