When I run dotnet test at the solution level, results are placed within each test project like this:
Foo.Test/TestResults/TestResults.xml
Bar.Test/TestResults/TestResults.xml
I'd like to produce output like this:
test-results/
Foo.Test.xml
Bar.Test.xml
I can get part way there with dotnet test --logger "junit;LogFilePath=../test-results/foo.xml", but then all my test suites will rewrite the one foo.xml file.
Is it possible to emit filenames based on the name of the test project? (If not, consider this a feature request!)
When I run
dotnet testat the solution level, results are placed within each test project like this:I'd like to produce output like this:
I can get part way there with
dotnet test --logger "junit;LogFilePath=../test-results/foo.xml", but then all my test suites will rewrite the onefoo.xmlfile.Is it possible to emit filenames based on the name of the test project? (If not, consider this a feature request!)