Skip to content
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

Fake.Testing.XUnit2 fails when set to Silent #1463

Closed
jbrestan opened this issue Jan 27, 2017 · 1 comment
Closed

Fake.Testing.XUnit2 fails when set to Silent #1463

jbrestan opened this issue Jan 27, 2017 · 1 comment

Comments

@jbrestan
Copy link
Contributor

jbrestan commented Jan 27, 2017

When running xUnit test runner with Silent setting, it uses -silent parameter which is no longer supported by xunit.runner.console 2.1+

xUnit2 (fun p ->
    { p with 
        ToolPath = "../packages/xunit.runner.console.2.1.0/tools/xunit.console.exe"
        Silent = true })

produces

/Library/Frameworks/Mono.framework/Commands/mono "../packages/xunit.runner.console.2.1.0/tools/xunit.console.exe" "<edited>/out/FAKE_xUnit_repro.exe" -parallel none -silent
error: missing filename for -silent

The correct parameter according to xUnit documentation (including the one pasted in the Fake.Testing.XUnit2 file itself) is -quiet instead of -silent.

forki added a commit that referenced this issue Feb 28, 2017
Fix for  #1463: Use correct CLI parameter for silent xUnit output
@jbrestan
Copy link
Contributor Author

PR merged, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant