ReSharper runner for xUnit.net 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 xUnit.net runner for ReSharper to the extension gallery. It adds support for xUnit.net 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.

xUnit.net 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 (xUnit.net 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: , , ,

xunitcontrib

Comments (39) -

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.

Reply

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

Ace Web Site

Reply

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

Good Web Site.

Reply

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

Nice Website.

Reply

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

Ace Website.

Reply

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!

Reply

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

getting the last pair of shoes in your size AWESOME!

Reply

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.

Reply

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

I love the dolphin saving you one.

Reply

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

The dolphin saving you one is the best one!

Reply

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!

Reply

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

getting laid AWSOME

Reply

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!

Reply

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!

Reply

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!

Reply

Schermiportatili
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!|

Reply

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.

Reply

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!

Reply

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!

Reply

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

Reply

POŻYCZKI
POŻYCZKI United States
6/23/2016 8:11:10 AM #

Pożyczka gotówkowa Soho Credit

Reply

POŻYCZKA POZABANKOWA
POŻYCZKA POZABANKOWA United States
6/23/2016 8:11:11 AM #

Pożyczka gotówkowa Alior Bank

Reply

pożyczka
pożyczka United States
6/23/2016 8:11:11 AM #

Pożyczka gotówkowa

Reply

POŻYCZKI POZABANKOWE
POŻYCZKI POZABANKOWE United States
6/23/2016 8:18:03 AM #

Weź bezpłatną pożyczkę    Gotówka na koncie w czasie nawet do 15 minut     Pożycz do 2000 złotych

Reply

pożyczka
pożyczka United States
6/23/2016 8:47:20 AM #

Weź bezpłatną pożyczkę    Gotówka na koncie w czasie nawet do 15 minut     Pożycz do 2000 złotych

Reply

POŻYCZKI POZABANKOWE
POŻYCZKI POZABANKOWE United States
6/23/2016 9:59:11 AM #

Pożyczka gotówkowa Wonga

Reply

REJESTRACJA DOMEN
REJESTRACJA DOMEN United States
6/25/2016 6:22:55 AM #

Rejestracja domen - Przedłużanie domen - Transfer domen

Reply

Rejestracja Domen
Rejestracja Domen United States
6/25/2016 6:22:55 AM #

BEZPŁATNE KONTO HOSTINGOWE 5GB DLA KAŻDEJ REJESTRACJI NOWEJ POLSKIEJ DOMENY!

Reply

domeny
domeny United States
6/25/2016 6:29:25 AM #

Zamówienie domeny

Reply

rejestracja domen
rejestracja domen United States
6/25/2016 6:58:16 AM #

Transfer domen

Reply

domeny
domeny United States
6/25/2016 8:21:01 AM #

REJESTRACJA DOMEN

Reply

rejestracja domen
rejestracja domen United States
6/25/2016 8:27:48 AM #

Odzyskiwanie domen

Reply

delhi escorts
delhi escorts United States
7/16/2016 9:26:53 AM #

http://www.harpreetkaur.in/ <a href="http://www.harpreetkaur.in/">xxx sex service</a> Delhi independent escorts running right from to serve your desire with Russian Escorts in Delhi from streets to any where you can tag such beautiful girls in bed, dinner, and other events

Reply

delhi escorts
delhi escorts United States
7/16/2016 4:21:49 PM #

http://www.harpreetkaur.in/ <a href="http://www.harpreetkaur.in/">xxx sex service</a> Delhi independent escorts running right from to serve your desire with Russian Escorts in Delhi from streets to any where you can tag such beautiful girls in bed, dinner, and other events

Reply

Angla Mewes
Angla Mewes United States
7/19/2016 9:46:51 AM #

Importante empresa chilena de grandes superficies, requiere urgente para su área de ventas personal bachiller con documentación al día, para trabajar los fines de semana en su sede de centro mayor, deben tener experiencia mínima de 6 meses en ventas de neveras y lavadoras. Estudiantes técnicos y/ tecnológicos NO profesionales en carreras contables y financieras, para patrocinio. Empresa de telecomunicaciones requiere estudiantes universitarios que tengan minimo dos semestres de cualquier carrera, tecnico tecnologo. Con minimo 6 meses de experiencia en servicio al cliente ventas telefonicas ofrece estabilidad laboral y plan carrera.

Reply

Scott Kevin
Scott Kevin United States
8/5/2016 10:25:44 AM #

Представляем новый веб- сайт знакомств будет оштрафован на широкий свою настоящую любовь в http://youllfindlove.com/

Reply

James Fly
James Fly United States
8/7/2016 1:42:50 AM #

This is such a great site come check out our new free dating website we are world wide find your true love at http://youllfindlove.com

Reply

James Fly
James Fly United States
9/26/2016 10:05:00 AM #

Это такой хороший сайт с большим количеством полезной информации . Приходите присоединиться к нашему новый бесплатный социальный сайт, как Facebook . У нас есть группы друзей , объявления, сайт знакомств играть в игры бесплатно для всех на http://mysocialspot.ca/

Reply

Andrew A. Sailer
Andrew A. Sailer United States
10/3/2016 5:22:27 AM #

The Zune concentrates on being a Portable Media Player. Not a web browser. Not a game machine. Maybe in the future it'll do even better in those areas, but for now it's a fantastic way to organize and listen to your music and videos, and is without peer in that regard. The iPod's strengths are its web browsing and apps. If those sound more compelling, perhaps it is your best choice.

Reply

Add comment

biuquote
  • Comment
  • Preview
Loading

Rel=Me

Month List

RecentComments

Comment RSS