AnyUnit.Runner
1.2.2
dotnet tool install --global AnyUnit.Runner --version 1.2.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local AnyUnit.Runner --version 1.2.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=AnyUnit.Runner&version=1.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package AnyUnit.Runner --version 1.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AnyUnit.Runner
Standalone .NET tool (anyunit-runner) that discovers and runs
AnyUnit tests in one or more
assemblies you point it at - no test project of your own needed, no MTP/
dotnet test integration required.
Install
dotnet tool install --global AnyUnit.Runner
(Prerelease builds of unreleased work are published as artifacts of the
repo's own pack workflow run, or build from source:
dotnet pack Runner/Platforms/net10/net10-runner.csproj.)
Usage
anyunit-runner run [-o|-output <file>] [-teamcity] <assembly.dll> [<assembly2.dll> ...]
-o/-output <file>- also write the full results as JSON to<file>.-teamcity- print TeamCity service messages instead of the plain human-readable summary.- Exit code 0 if every test passed (no
Fail/Errorresults), 1 otherwise.
For a browser-wasm test assembly (one with native/P/Invoke dependencies
that only build for that target), use
AnyUnit.Runner.BrowserWasm's anyunit-browser-wasm
instead - this runner loads assemblies directly into its own process,
which can't host a browser-wasm-only native build.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.