Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

XUnit 2 tests are not picked up by NCrunch.
Micah71381
#1 Posted : Saturday, July 12, 2014 9:39:48 PM(UTC)
Rank: Member

Groups: Registered
Joined: 10/18/2013(UTC)
Posts: 27
Location: United States of America

Was thanked: 2 time(s) in 2 post(s)
Reproduction steps:
  1. New Project > Class Library
  2. Go through NCrunch setup (next, parallel, next, next, Let my tests run, next, finish)
  3. Manage NuGet Packages...
  4. Include Prerelease
  5. Online > nuget.org
  6. Search Online > xunit
  7. Select xUnit.net > Install
  8. Add using Xunit;
  9. Add a public method annotated with [Fact].
  10. Add Assert.Equal(1, 2); in the method body.

NCrunch 2.7.0.5
xUnit.Net 2.0.0.2700 (2.0.0-beta-build2700)

NCrunch doesn't see the test. Visual Studio 2013 Ultimate with xUnit test adapter does. I have tried telling NCrunch to resynchronize.
Remco
#2 Posted : Saturday, July 12, 2014 11:52:34 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi, thanks for posting.

Xunit v2 is in a state of flux at the moment, with three beta releases available and another one a little way out.

Each of these releases contains breaking changes, which makes it hard to ensure that the products continue to work together.

You may want to try a pre-release build of NCrunch v2.8 to see if this works better:

http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.8.0.4.msi
http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.8.0.4.zip
http://downloads.ncrunch.net/NCrunch_VS2008_2.8.0.4.msi
http://downloads.ncrunch.net/NCrunch_VS2010_2.8.0.4.msi
http://downloads.ncrunch.net/NCrunch_VS2010_2.8.0.4.zip
http://downloads.ncrunch.net/NCrunch_VS2012_2.8.0.4.msi
http://downloads.ncrunch.net/NCrunch_VS2012_2.8.0.4.zip
http://downloads.ncrunch.net/NCrunch_VS2013_2.8.0.4.msi
http://downloads.ncrunch.net/NCrunch_VS2013_2.8.0.4.zip

With the rate of change Xunit is seeing at the moment, it's difficult to warrant that NCrunch will be able to fully support it before it has cleared beta state.


Cheers,

Remco

1 user thanked Remco for this useful post.
qujck on 7/25/2014(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.030 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download