-
Notifications
You must be signed in to change notification settings - Fork 586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xunit runner fails on mono when it has to output an xml file #568
Comments
The exact same thing happens if you specify html output or if you specify nunit-style xml output. Apparently the command args being built are not being parsed properly when the underlying platform is mono, and hence unit tests can't run. Here's the example showing the same bug with html output:
|
The issue here is actually not with FAKE, but with the xunit runner. It parses its command line arguments in a non-*nix friendly manner. If the path for the output file begins with a "/", then xunit is going to interpret it as another argument, not as the value for the |
A rooted *nix path (beginning with /) is interpreted by the xUnit runner as a command line directive. This causes the xUnit runner to fail when report directories are specified when building on Mono. Fixes fsprojects#568
A rooted *nix path (beginning with /) is interpreted by the xUnit runner as a command line directive. This causes the xUnit runner to fail when report directories are specified when building on Mono. Fixes fsprojects#568
With this error:
The text was updated successfully, but these errors were encountered: