dotnet-testx 1.6.0

.NET Core 2.1
dotnet tool install --global dotnet-testx --version 1.6.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local dotnet-testx --version 1.6.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-testx&version=1.6.0
nuke :add-package dotnet-testx --version 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

Features

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 https://github.com/duanemck/dotnet-testx for more details

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.6.0 5,589 4/4/2019
1.5.1 811 8/7/2018
1.5.0 623 8/2/2018
1.4.5 685 7/13/2018
1.4.4 704 7/13/2018
1.4.3 653 7/13/2018
1.4.2 719 7/13/2018
1.4.1 704 7/13/2018
1.4.0 716 7/13/2018

1.6.0
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 https://github.com/Qpirate for contribution)

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

1.5.0
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