NetWasm.TUnit 0.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package NetWasm.TUnit --version 0.4.0
                    
NuGet\Install-Package NetWasm.TUnit -Version 0.4.0
                    
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="NetWasm.TUnit" Version="0.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NetWasm.TUnit" Version="0.4.0" />
                    
Directory.Packages.props
<PackageReference Include="NetWasm.TUnit" />
                    
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 NetWasm.TUnit --version 0.4.0
                    
#r "nuget: NetWasm.TUnit, 0.4.0"
                    
#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 NetWasm.TUnit@0.4.0
                    
#: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=NetWasm.TUnit&version=0.4.0
                    
Install as a Cake Addin
#tool nuget:?package=NetWasm.TUnit&version=0.4.0
                    
Install as a Cake Tool

NetWasm.TUnit

TUnit support for NetWasm test projects. The package supplies the managed generated-catalog runner and a standard VSTest adapter; NetWasm owns the compiler, runtime, reusable JavaScript hosts, local launcher and VSTest runtime provider.

Add the package to a project created with the NetWasm SDK:

dotnet add package NetWasm.TUnit

Write TUnit tests, then run them:

dotnet test
dotnet test --list-tests
dotnet test --filter "FullyQualifiedName=MyProject.Tests.Tests.AnswerIsFortyTwo"
dotnet test --filter "Category=smoke"
dotnet test --no-build --no-restore

VSTest performs discovery and filtering through the packaged adapter. The adapter invokes the generated guest catalog by stable ID and maps TUnit source, trait, output, duration and result records back to VSTest test cases.

This package is maintained in the TUnit-NetWasm integration and is MIT licensed.

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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.4.1 50 9/22/2026
0.4.0 116 9/21/2026
0.3.0 124 9/21/2026
0.3.0-preview.1 48 9/21/2026
0.2.2 237 9/18/2026
0.2.2-preview.1 48 9/18/2026
0.2.1 109 9/16/2026
0.2.1-preview.2 54 9/16/2026
0.2.1-preview.1 56 9/16/2026
0.2.0 83 9/16/2026
0.2.0-preview.1 46 9/16/2026
0.1.0 102 9/15/2026
0.1.0-rc.3 54 9/15/2026
0.1.0-rc.2 52 9/15/2026
0.1.0-alpha.1 75 9/14/2026