xunitcontrib-resharper 0.6.1 - mostly bug fixes

by Matt 2. August 2012 02:42

Seems like this blog is becoming just an announcement service for new versions of my xUnit.net test runner for ReSharper. Bit of a maintenance release, this one. Here’s what it’s in:

RTM support for ReSharper 7.0 RTM:

The 0.6 release worked just fine with the RTM, but here’s the official build.

Bug fixes:

  1. The wrong dll was used when you switched between Debug and Release. Yikes!
  2. Adding a method to the end of a class, and then trying to run all tests in a class could cause the whole class to fail, as it tried to run a method called “???”
  3. If you used non-public test methods, you couldn’t double-click to navigate in the test sessions or test explorer views
  4. Exceptions were thrown when trying to parse a source file that contained static public properties and had a build action set to None. Rather a specific one, that.

The most interesting change is for placing tests in nested classes. When displaying a test method in the UI, it’s usually displayed as the class’s short name, e.g. For “Name.Space.ClassName”, you see “ClassName”. This scheme fails when you have nested classes, and multiple nested classes share a name, but have different parent classes. Like this:

public class AddressTests
{
  public class ToStringTests
  {
    [Fact] public void ShouldReturnFormattedAddress() { /* ... */ }
  }
}

public class PersonTests
{
  public class ToStringTests
  {
    [Fact] public void ShouldReturnForenameAndSurname() { /* ... */ }
  }
}

(Check out Phil Haack’s post that nicely describes why you might want to do this). The problem is that the test runner would display this:

ambiguous_nested_classes

making it very hard to distinguish which test was which. Now they display like this:

unambiguous_nested_classes

In other words, nested classes include the name of their parent class in the UI. I’m not exactly enamoured of the naming format; using a “+” to separate the class names isn’t very well known outside of Relection, but at least it gives you the chance to know which test is which. It might change in a future version - there’s an outstanding bug for ReSharper to improve the NUnit runner’s support for nested classes, and I’ll follow their lead.

Removed support for 5.1:

I started this project with ReSharper 4.1. I make that 7 releases (4.1, 4.5, 5.0, 5.1, 6.0 and the current 6.1.1 and 7.0). Going forward, I’m only going to support the last two major releases – i.e. 6.x and 7.x, so that means the current release has binaries for 6.1.1 and 7.0 RTM. You can still download the binaries to any of the old releases, and the source is still available in the repo, but they’re not going to see any new development.

So, there you have it. Go download it. If there’s a problem, report it at CodePlex, or give me a shout on Twitter.

Tags: , ,

xunitcontrib

Comments (33) -

A factor else I would love to mention is that personalized personal computer memory specifications commonly go up together with other advancements within technological innovation.

Reply

Herbert Britson
Herbert Britson United States
1/15/2016 4:34:11 AM #

the style of keeping you connected with so many things of different types is awesome and you find it interesting everytime.

Reply

Kylee Marett
Kylee Marett United States
1/15/2016 6:43:12 AM #

the style of keeping you connected with so many things of different types is awesome and you find it interesting everytime.

Reply

Wallace Chappelear
Wallace Chappelear United States
1/15/2016 7:49:03 AM #

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

Reply

Raleigh Maarx
Raleigh Maarx United States
1/15/2016 8:29:04 AM #

Congratulations on your success! You deserve it for brightening all of my work days with something to be excited about.

Reply

gay sex chat
gay sex chat United States
4/12/2016 1:41:16 AM #

<p>How about interviewing Kevin Reeve from On-Point Tactical on the podcast?</p><p id="comment-like-736904" data-liked=comment-not-liked class="comment-likes comment-not-liked"><a href="fourhourworkweek.com/.../; class="comment-like-link needs-login" rel="nofollow" data-blog="56542934"><span>Like</span></a><span id="comment-like-count-736904" class="comment-like-feedback">Like</span></p>

Reply

pożyczki pozabankowe
pożyczki pozabankowe United States
6/23/2016 8:03:13 AM #

Pożyczka gotówkowa Wonga

Reply

pożyczka pozabankowa
pożyczka pozabankowa United States
6/23/2016 8:21:14 AM #

Pożyczka gotówkowa Soho Credit

Reply

POŻYCZKA
POŻYCZKA United States
6/23/2016 8:21:16 AM #

POŻYCZKI

Reply

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

pożyczki pozabankowe

Reply

pożyczki pozabankowe
pożyczki pozabankowe United States
6/23/2016 8:21:20 AM #

POŻYCZKA POZABANKOWA

Reply

pożyczki
pożyczki United States
6/23/2016 8:21:44 AM #

Pożyczka pozabankowa Net Credit

Reply

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

pierwsza pożyczka za 0 zł! Bez dodatkowych opłat i prowizji    okres kredytowania aż do 35 dni    dla stałych klientów nawet 4 000 zł bez zabezpieczenia    możliwość spłaty w ratach!

Reply

pożyczka pozabankowa
pożyczka pozabankowa United States
6/23/2016 8:21:46 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
POŻYCZKI United States
6/23/2016 8:21:47 AM #

Pożyczka gotówkowa

Reply

POŻYCZKA POZABANKOWA
POŻYCZKA POZABANKOWA United States
6/23/2016 8:21:47 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
pożyczki United States
6/23/2016 8:40:42 AM #

Pożyczka gotówkowa Alior Bank

Reply

POŻYCZKI POZABANKOWE
POŻYCZKI POZABANKOWE United States
6/23/2016 9:47:45 AM #

Pożyczka pozabankowa Aasa Polska

Reply

rejestracja domen
rejestracja domen United States
6/25/2016 6:15:23 AM #

Transfer domen

Reply

Rejestracja Domen
Rejestracja Domen United States
6/25/2016 6:32:02 AM #

Rezerwacja domen Rejestracja domen

Reply

REJESTRACJA DOMEN
REJESTRACJA DOMEN United States
6/25/2016 6:32:02 AM #

Bezpłatna rejestracja domen

Reply

REJESTRACJA DOMEN
REJESTRACJA DOMEN United States
6/25/2016 6:32:04 AM #

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

Reply

Rejestracja Domen
Rejestracja Domen United States
6/25/2016 6:32:05 AM #

Rejestracja Domen

Reply

domeny
domeny United States
6/25/2016 6:32:07 AM #

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

Reply

DOMENY
DOMENY United States
6/25/2016 6:32:30 AM #

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

Reply

domeny
domeny United States
6/25/2016 6:32:30 AM #

Zamówienie domeny

Reply

Rejestracja Domen
Rejestracja Domen United States
6/25/2016 6:32:34 AM #

Rezerwacja domen Rejestracja domen

Reply

DOMENY
DOMENY United States
6/25/2016 6:32:34 AM #

Transfer domen

Reply

DOMENY
DOMENY United States
6/25/2016 6:32:35 AM #

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

Reply

DOMENY
DOMENY United States
6/25/2016 6:51:19 AM #

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

Reply

DOMENY
DOMENY United States
6/25/2016 8:10:24 AM #

REJESTRACJA DOMEN

Reply

Male escorts in Delhi
Male escorts in Delhi United States
7/18/2016 5:44:06 AM #

http://www.maleescortsservice.com <a href="http://www.maleescortsservice.com">Gigolo service in Delhi</a> Delhi independent Gigolo running right from to serve your desire any where you can tag such handsome boys in bed, dinner, and other events

Reply

James Fly
James Fly United States
7/31/2016 8:31:24 AM #

This is such a great site come check out our new free Dating web site would wide fined your true love at http://youllfindlove.com/

Reply

Pingbacks and trackbacks (1)+

Add comment

biuquote
  • Comment
  • Preview
Loading

Rel=Me

Month List

RecentComments

Comment RSS