Build/Test Issues

XUnit 2 tests are not picked up by NCrunch.

Started by Micah71381 on 5,544 views

Reproduction steps:
[list=1]
  • New Project > Class Library
  • Go through NCrunch setup (next, parallel, next, next, Let my tests run, next, finish)
  • Manage NuGet Packages...
  • Include Prerelease
  • Online > nuget.org
  • Search Online > xunit
  • Select xUnit.net > Install
  • Add using Xunit;
  • Add a public method annotated with [Fact].
  • 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.
    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

    Post a reply

    Log in to reply.