How Can I Share ReSharper Unit Test Sessions in a Team?

I set up two ongoing test sessions in ReSharper 7 in Visual Studio 2010/2012 - Pass and Fail. I go through the Passing session daily and can quickly identify any regression failure since the last time, in which case I transfer those tests to Failed, where I can work on it when I get the time. It works, and it's great.

The problem is that I can’t find a way to export these sessions as the “Collaborative Decision Team” option, as suggested in the ReSharper docs for settings that you might want to share with the team. Obviously, it would be useful to have others at the same time, using the same structure of the test session. But when I change sessions, it seems to me that only the PatientPortal.sln.DotSettings.user file is updated, and not the PatientPortal.sln.DotSettings file.

In RESHARPER -> Options -> Unit Testing, I checked "Save and Restore Unit Test Sessions" and selected Save-To - 'Solution [name] Team-shared'

Due to the difficulties that I have encountered, I suspect that the ReSharper Unit Test sessions are not intended for you to register and share, but I would find it productive to do this in this case, just as anyone knows how to do it ?

+5
source share
3 answers

You must use categories for this. If you use NUnit, you can use CategoryAttribute to tag your tests or tests with categories, for example:

[Category("Failing")] public void MyTestProc() ...

You can specify several categories for one test (just use the attribute several times). Then go to ReSharper | Unit Tests | Unit Testsand select Group by -> Categories(or something like that, don't remember exactly). Select your category and click the button Run selected testson the toolbar.

+1

:

RSRP-275264

, . , , usecase.

+4

: - .sln.DotSettings.user, .user .

, - TDDing , , , . ( ) .

" " " unit test " . .

, , ReShaprer, . UnitTestSessionManager , IUnitTestSession GetPersistentInfo RestorePersistentInfo, . .

, , , , , , .

, ? , , , ? ReSharper . , ? , , ? , , , ? ?
+1

All Articles