Metalama.Testing.UnitTesting
2027.0.5-preview
Prefix Reserved
dotnet add package Metalama.Testing.UnitTesting --version 2027.0.5-preview
NuGet\Install-Package Metalama.Testing.UnitTesting -Version 2027.0.5-preview
<PackageReference Include="Metalama.Testing.UnitTesting" Version="2027.0.5-preview" />
<PackageVersion Include="Metalama.Testing.UnitTesting" Version="2027.0.5-preview" />
<PackageReference Include="Metalama.Testing.UnitTesting" />
paket add Metalama.Testing.UnitTesting --version 2027.0.5-preview
#r "nuget: Metalama.Testing.UnitTesting, 2027.0.5-preview"
#:package Metalama.Testing.UnitTesting@2027.0.5-preview
#addin nuget:?package=Metalama.Testing.UnitTesting&version=2027.0.5-preview&prerelease
#tool nuget:?package=Metalama.Testing.UnitTesting&version=2027.0.5-preview&prerelease
About
The Metalama.Testing.UnitTesting package is a class library that allows you to unit test compile-time code written against the Metalama code model.
Principal Types
- UnitTestClass: the base class for all unit tests.
Documentation
AI Coding Assistants
If you use an AI coding assistant such as Claude Code, install the Metalama AI Skills plugin. It gives the assistant access to the Metalama conceptual documentation, the API reference, and code samples.
| 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. |
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- JetBrains.Profiler.SelfApi (>= 2.5.17)
- Metalama.Framework.Implementation.5.12.0 (>= 2027.0.5-preview)
- Metalama.Framework.Redist (>= 2027.0.5-preview)
- Metalama.Framework.Sdk (>= 2027.0.5-preview)
- System.Net.Http (>= 4.3.4)
- System.Text.Json (>= 10.0.10)
- System.Text.RegularExpressions (>= 4.3.1)
- xunit.v3.assert (>= 4.0.1)
- xunit.v3.extensibility.core (>= 4.0.1)
-
net10.0
- JetBrains.Profiler.SelfApi (>= 2.5.17)
- Metalama.Framework.Implementation.5.12.0 (>= 2027.0.5-preview)
- Metalama.Framework.Redist (>= 2027.0.5-preview)
- Metalama.Framework.Sdk (>= 2027.0.5-preview)
- xunit.v3.assert (>= 4.0.1)
- xunit.v3.extensibility.core (>= 4.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Metalama.Testing.UnitTesting:
| Package | Downloads |
|---|---|
|
Metalama.Testing.AspectTesting
Test framework for Metalama aspects and fabrics. This is not your typical test framework. When referencing this package, every _file_ is turned into a test by default. Please read the documentation before use. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2027.0.5-preview | 98 | 10/30/2026 |
| 2027.0.4-preview | 145 | 10/13/2026 |
| 2027.0.3-preview | 183 | 9/16/2026 |
| 2027.0.2-preview | 139 | 9/10/2026 |
| 2027.0.1-preview | 161 | 9/7/2026 |
| 2026.1.31 | 164 | 10/29/2026 |
| 2026.1.30 | 356 | 10/13/2026 |
| 2026.1.29 | 268 | 10/2/2026 |
| 2026.1.28 | 625 | 9/16/2026 |
| 2026.1.27 | 219 | 9/10/2026 |
| 2026.1.26 | 264 | 9/5/2026 |
| 2026.1.25 | 406 | 8/21/2026 |
| 2026.1.24 | 307 | 8/13/2026 |
| 2026.1.23 | 494 | 8/10/2026 |
| 2026.1.22 | 225 | 8/5/2026 |
| 2026.1.21 | 286 | 7/21/2026 |
| 2026.1.20 | 233 | 7/15/2026 |
| 2026.1.19 | 283 | 6/27/2026 |
| 2026.0.25 | 254 | 6/30/2026 |
| 2025.1.18 | 175 | 6/30/2026 |