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
                    
if you are setting up this repo
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
                    
nuke :add-package AnyUnit.Runner --version 1.2.2
                    

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/Error results), 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 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.

Version Downloads Last Updated
1.2.2 69 9/16/2026
1.2.1 73 9/16/2026
1.2.0 74 9/16/2026
1.2.0-alpha.0.6 54 9/14/2026
1.1.0 91 9/14/2026
1.0.0 88 9/12/2026