dotnet-testx 1.6.0

Extensions to the `dotnet test` command that enable code coverage reporting (using OpenCover) and a few other bonus features.

NOTE: Due to OpenCover being Windows only, this tool will only work on Windows


1. Run `dotnet test` with code coverage tracking by OpenCover
2. Generate cobertura covberage results (useful for VSTS/TFS coverage reporting).
3. Generate an HTML coverage report
4. Discover all test projects in a folder and run tests for all of them (not natively supported by `dotnet test`). Works nicely with `dotnet watch` for continuous testing of an entire solution

See for more details

dotnet tool install --global dotnet-testx --version 1.6.0
This package contains a .NET Core Global Tool you can call from the shell/command line.

Release Notes

Add --working-dir option
Handle spaces in project folder
Install required dependancies from Nuget when installing
Look in subfolders for OpenCover/etc exes (handle newer versions on different framework versions)
(Thanks for contribution)

Fixed bug where reports were generated before tests run when using `--project all`

Output exit code from test tool so that it can be used within a CI pipeline to fail the build on test failure
Added option to pass in arbitrary OpenCover options


This package has no dependencies.

Version History

Version Downloads Last updated
1.6.0 202 4/4/2019
1.5.1 364 8/7/2018
1.5.0 189 8/2/2018
1.4.5 185 7/13/2018
1.4.4 188 7/13/2018
1.4.3 183 7/13/2018
1.4.2 215 7/13/2018
1.4.1 196 7/13/2018
1.4.0 213 7/13/2018