nunit-console
nunit-console copied to clipboard
--output outputs empty file?
Here's my Nunit3 console command:
nunit3-console.exe "%slnfile%" /config:Debug --skipnontestassemblies --out="%outputtext%"
And although %outputtext% is created, but there is no content in it ( despite that I do see some content on the Console screen).
Is --output
command line parameter working?
Sorry it's taken a bit for you to get a response @WindingWinter .This question may be better suited for the audience in the console runner repo (https://github.com/nunit/nunit-console), but can you explain what you're seeing on the console which you would expect to see in the output file but aren't? I believe %outputtext%
here would only only output text which is explicitly written out from within the test itself. If you're instead only interest in the test results themselves, --result
may be what you're looking for.
It may also help to understand what version of the console runner you are using.
I've transferred this to the nunit-console repository. Which version of the console are you using @WindingWinter ? and can you create a small project that shows the problem.
Not enough info here yet to accept this as an issue. Need version of console runner and package type from which it was installed, version of VS project loader extension, which would be required in order to run from a solution file, more explicit info about what you expected to see versus what you are actually seeing output.