-
Notifications
You must be signed in to change notification settings - Fork 21
Failing test never completes #50
Comments
That's probably this: xunit/xunit#375 |
I hope it doesn't mean I need to upgrade to xUnit 2, because we use SpecFlow which does not support xUnit 2 yet. |
By the way - the test output goes perfectly fine to the ReSharper output window. It just doesn't finish. So it would great if it could be fixed in |
Downgrading to xUnit.net Test Support 1.6.2 works. |
No, it does not mean you need to upgrade to xUnit.net v2. What it means is that the Resharper runner will want to upgrade to the v2.1 runner utility, though, to prevent this problem in the future. |
I'll take a look to see if I can better handle exceptions, too. I'd rather it fail fast than sit there without completion. Is 2.1 baked yet? |
No, I'm expecting 2.1 to have a long tail, since right now its primary feature is DNX (ASP.NET v5) support. If you want, I can back-port this to create a 2.0.1. |
I'm using ReSharper 9.1 with xUnit Test Support 2.1.6 and this is currently causing me quite a bit of grief. Is there anything I can to to help or at least work around the issue? |
@chrisjansson I downgraded to 1.6.2 as a work around. Although it is not simple to downgrade ReSharper extensions, I had to manually change some stuff in AppData. |
@mbp The earliest version with ReSharper 9 support is 2.0.0 unfortunately. |
I've just pushed 2.1.7 to the extension gallery, with a fix for this issue, so you shouldn't need to install an old version now. |
Thanks, works great! |
I have a strange issue after updating to "xUnit.net Test Support 2.1.6"
I use Visual Studio, ReSharper 8.2.3, xUnit 1.9.2 and FluentAssertions 3.3.0.
The following test never completes:
When I debug the test, it appears a
TargetInvocationException
is thrown from xUnit, which I tracked down to IndexOutOfRangeException in the following stack trace:In the call stack, I found a variable with the following XML, thought it might be relevant.
The text was updated successfully, but these errors were encountered: