Giter Club home page Giter Club logo

Comments (7)

BanzaiMan avatar BanzaiMan commented on May 5, 2024

Paging @Joshua-Anderson @akoeplinger @nterry

from docs-travis-ci-com.

octocat-mona avatar octocat-mona commented on May 5, 2024

I just noticed that it is important to have the xUnit.net version 1.9.2 in your project because the recently released version 2.0.0 shows an error in the build log that xunit.dll can't be found. (I think that the DLL name has changed to xunit.core.dll).

So:

  1. xunit.console.clr4.exe instead of xunit.console.exe is still relevant.
  2. How can the xUnit version 2.0.0 version be used / supported?

from docs-travis-ci-com.

akoeplinger avatar akoeplinger commented on May 5, 2024

xunit.console.clr4.exe instead of xunit.console.exe is still relevant.

Good point: #227

How can the xUnit version 2.0.0 version be used / supported?

Right now you can't, there's a bug in Mono that shows up with how xunit 2.0 uses appdomains and it hangs/deadlocks after test execution. A fix is pending, you should just stick with 1.9.2 until that makes it into a release (also note that in xunit2, the console runner is now in it's own package xunit.runner.console and is called xunit.console.exe for the net4.0 version again 😄, so this is all just a point in time thing)

from docs-travis-ci-com.

octocat-mona avatar octocat-mona commented on May 5, 2024

Thanks for updating the sample code.

Is there a ticket or some more info about the xunit 2.0 issue?
And maybe it's an idea to add a note or something to the sample about this? I've spend quite some time until I figured out that I did not have the 1.9.2 version in my project..

from docs-travis-ci-com.

akoeplinger avatar akoeplinger commented on May 5, 2024

Is there a ticket or some more info about the xunit 2.0 issue?

Here's the PR: mono/mono#1654 (not sure if this fixes all of the bugs with xunit2).

And maybe it's an idea to add a note or something to the sample about this?

Yeah, since it doesn't look like the fix will make it into the upcoming Mono 4.0 a note can't hurt. Done.

from docs-travis-ci-com.

NullVoxPopuli avatar NullVoxPopuli commented on May 5, 2024

That PR has been merged - so is there a way to run with xunit 2.0?

from docs-travis-ci-com.

akoeplinger avatar akoeplinger commented on May 5, 2024

@NullVoxPopuli Assuming there are no other issues, you just install xunit 2.0 and run it as usual (check the xunit docs).

from docs-travis-ci-com.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.