CircleCI | NuGet |
---|---|
Helper for converting trx-Testresults (dotnet test --logger "trx"
) to a JUnit-based XML file.
The JUnit-output will be in the same directory than the trx-file.
Can be used for CI-scenarios, like CircleCi, where as test results JUnit is expected.
When installed as .NET Core 2.1 Global Tools:
trx2junit {trxFile}
where trxFile is the path to the trx-file.
dotnet tool install -g trx2junit
For CI-scenarios execute before usage:
export PATH="$PATH:/root/.dotnet/tools"