ReSharper runner for 2.0

by Matt 2. May 2014 05:55

Here’s two nice things to end a Friday with.

Firstly, I’ve just pushed a new, 2.0.0 ALPHA pre-release version of the runner for ReSharper to the extension gallery. It adds support for 2.0 beta 2. You can get it from ReSharper’s Extension Manager. Make sure you select the “pre-release” drop down in the Extension Manager first.

Secondly, the project is no longer hosted on CodePlex, but has moved to GitHub, and lives under the xunit org. All issues and pull requests should go there please. 2

You should consider this an alpha version, because, well, it is. It works, I’ve got a bunch of tests to prove it, but hey, it’s all new and different, so if you find any issues, please, please, please, let me know (twitter or, even better, GitHub. Did I mention the project’s moved?) In fact, any kind of feedback is appreciated, good or bad.

Thanks to the excellent support built into xunit2 by Brad and Jim, the new runner can handle both your xunit1 and xunit2 tests. Everything works as you’d expect – tests are highlighted in the editor, and you can run and debug them as normal.

However, this is an alpha build. There are couple of important caveats:

  • Parallelisation is DISABLED in this release. This is due to how xunit2 handles errors. Currently, there is no way for me to gracefully handle errors thrown when a class or collection fixture throws an exception. Hopefully this can be resolved, and I’ll enable parallelisation.
  • Test discovery in the editor is currently handled by xunit1. This needs migration, but is a complex beast. It means that currently, anything more interesting than plain Fact or Theory based tests might not work. Test discovery in the runner is handled by xunit2, hence the weasel word “might”. Fixing this is my next priority.
  • It currently only supports 8.2, as this is what I’ve been using to build and test. I’m not sure yet if I’ll add support for 8.1 back. Leave feedback on GitHub if you really want it – but leave a reason, too. After all, 8.2 is a free upgrade!
  • Annotations and live templates haven’t been updated yet, or even tested. They might work, they might not – so your methods might not be highlighted as in use, and the templates might not work (theory definitely won’t – it’s in a different namespace)

Moving to GitHub

I think it’s fair to say that xunitcontrib had a good run on CodePlex, but, well, GitHub is better. It’s a much nicer experience, everything is just easier, and well, GitHub won.

A very nice feature on GitHub is organisations. Brad and Jim have very generously invited the ReSharper runner to live under the xunit org. It doesn’t change the ownership, copyright or license of the project ( is an Outercurve project, but the ReSharper runner is mine), it’s simply a nice place to live.

The name of the project has also changed. It always was more of a ReSharper project than a contrib project, so the name is now “resharper-xunit” to reflect this. I’ll still be using “xunitcontrib” as the name of the ReSharper packages, though.

What’s next?

Time to improve on the support. First item on the list is proper xunit2 based test discovery. I’ve opened a PR to track xunit2 progress, and more issues to track new functionality.

Please test it! Get it from the extension manager, and put it through its paces. And if you find any problems, report them!

Tags: , , ,


Comments (20) -

cairns commercial solar
cairns commercial solar United States
5/18/2015 3:07:06 PM #

This article is well researched and written. I think this content valuable information that is presented in an interesting way. The points made here are unique and well presented. I appreciate good writing like this.


philix United States
11/19/2015 1:51:51 AM #

Ace Web Site


philix United States
11/21/2015 12:40:50 PM #

Good Web Site.


philix United States
11/23/2015 1:27:11 AM #

Nice Website.


philix United States
11/28/2015 12:48:44 AM #

Ace Website.


Harriet Tenpas
Harriet Tenpas United States
1/6/2016 3:30:31 PM #

AWESOME!Can't wait for that, will be something to want to accomplish day by day, to do something AWESOME!


Luvenia Colier
Luvenia Colier United States
1/15/2016 4:03:05 AM #

getting the last pair of shoes in your size AWESOME!


Harriet Tenpas
Harriet Tenpas United States
1/15/2016 4:12:55 AM #

Well good for you! I have a lot but one I just thought of was when you lick a crease of paper so that it'll rip in a straight line and it actually tears in a frayed straight line rather than rips awkwardly. I love that bleachy taste and that bleachy satisfaction.


Francesca Vilardo
Francesca Vilardo United States
1/15/2016 4:21:04 AM #

I love the dolphin saving you one.


Elinor Gupta
Elinor Gupta United States
1/15/2016 6:36:35 AM #

The dolphin saving you one is the best one!


Rubin Hadcock
Rubin Hadcock United States
1/15/2016 6:41:27 AM #

Let me be the first to say: Congrats, Neil! I've been following this site from day one, and have loved every single day of awesomeness that it has delivered. You deserve all the success coming your way. Keep it up!AWESOME!


Dia Staab
Dia Staab United States
1/15/2016 7:42:37 AM #

getting laid AWSOME


Betsy Ragans
Betsy Ragans United States
1/15/2016 7:51:06 AM #

AWESOME!Can't wait for that, will be something to want to accomplish day by day, to do something AWESOME!


Georgeanna Carrigg
Georgeanna Carrigg United States
1/15/2016 7:55:08 AM #

Printing out an essay or paper, reading the first line and realizing there aren't any mistakes.<br />AWESOME!


Betsy Ragans
Betsy Ragans United States
1/15/2016 8:25:51 AM #

I can't wait to read this masterpiece. Ordering off the menu at fast food restaurants and old dangerous playground equipment have to be in the book!


Schermiportatili United States
2/10/2016 6:07:03 PM #

You really make it seem really easy along with your presentation but I to find this matter to be actually something that I feel I would by no means understand. It seems too complex and very extensive for me. I'm looking forward to your subsequent put up, I'll attempt to get the hold of it!|


smith brown United States
3/23/2016 9:02:00 AM #

Hello!since you can write so wellblog in the forum,why not ,this proves that your insightful,why do you not come to appreciate this pair of  fashion  women's Shoes.


backlinks google
backlinks google United States
4/11/2016 1:02:16 AM #

Merely amazing! I know you have placed a lot of initiative into this as well as I desired to tell you exactly how grateful I am! Hope you put out also more amazing things in the near future and I will certainly come back as well as review it!


build high pr backlinks
build high pr backlinks United States
4/18/2016 8:02:05 AM #

Famous! This is simply awesome! Not merely quality, yet also important info. And that is unusual to come by these days! I need to state that I am really impressed and also will undoubtedly come back once again if you keep up the top quality and worth of the material at this degree, and even acquire it on the following level. Genuinely, from the bottom of my heart, thank you for your time! God bless!


gay community
gay community United States
4/21/2016 10:51:02 PM #

Thank you so much so much for generate this details. This is the very best method for entertainment. These are probably the greatest game & anybody can fully enjoy by using these games. Because i am also play these games. Really hope so these games have a positive response this will let you good feedback furthermore.</p><p>I spend too much effort for these type of games. Finally, Before some days I seemed to be installed. SoftMozer is a free software download site offering


Add comment

  • Comment
  • Preview


Month List


Comment RSS