Motus.Testing 1.0.7

dotnet add package Motus.Testing --version 1.0.7
                    
NuGet\Install-Package Motus.Testing -Version 1.0.7
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Motus.Testing" Version="1.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Motus.Testing" Version="1.0.7" />
                    
Directory.Packages.props
<PackageReference Include="Motus.Testing" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Motus.Testing --version 1.0.7
                    
#r "nuget: Motus.Testing, 1.0.7"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Motus.Testing@1.0.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Motus.Testing&version=1.0.7
                    
Install as a Cake Addin
#tool nuget:?package=Motus.Testing&version=1.0.7
                    
Install as a Cake Tool

Motus.Testing

Shared browser fixture for Motus test framework integrations.

Overview

Provides the framework-agnostic BrowserFixture that manages browser launch, retry logic for transient CI failures, and context isolation. The three test framework packages (MSTest, xUnit, NUnit) build on top of this. Also includes FailureTracing for automatic trace capture on test failure.

Components

Class Description
BrowserFixture Launches a browser with up to 3 retry attempts, exposes NewContextAsync for per-test isolation
FailureTracing Starts tracing before a test and saves the trace ZIP to test-results/traces/ only when the test fails

Failure Tracing Configuration

Tracing is enabled via motus.config.json (failure.trace: true) or the MOTUS_FAILURES_TRACE environment variable. The output path is configurable via failure.tracePath.

Installation

dotnet add package Motus.Testing

This package depends on Motus and Motus.Abstractions. Most consumers should install one of the framework-specific packages instead:

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Motus.Testing:

Package Downloads
Motus.Testing.xUnit

xUnit integration for Motus browser automation. Provides collection and class fixtures for parallel test execution.

Motus.Testing.MSTest

MSTest integration for Motus browser automation. Provides a base test class with per-test browser context isolation.

Motus.Testing.NUnit

NUnit integration for Motus browser automation. Provides a base test class compatible with parallel test execution.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.7 0 4/5/2026
1.0.6 121 3/30/2026
1.0.5 127 3/30/2026
1.0.4 121 3/30/2026
1.0.3 123 3/30/2026
1.0.2 123 3/29/2026
1.0.1 126 3/29/2026