Antithesis.SDK.SourceGenerators
1.0.31
Prefix Reserved
dotnet add package Antithesis.SDK.SourceGenerators --version 1.0.31
NuGet\Install-Package Antithesis.SDK.SourceGenerators -Version 1.0.31
<PackageReference Include="Antithesis.SDK.SourceGenerators" Version="1.0.31"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="Antithesis.SDK.SourceGenerators" Version="1.0.31" />
<PackageReference Include="Antithesis.SDK.SourceGenerators"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Antithesis.SDK.SourceGenerators --version 1.0.31
#r "nuget: Antithesis.SDK.SourceGenerators, 1.0.31"
#:package Antithesis.SDK.SourceGenerators@1.0.31
#addin nuget:?package=Antithesis.SDK.SourceGenerators&version=1.0.31
#tool nuget:?package=Antithesis.SDK.SourceGenerators&version=1.0.31
Antithesis .NET SDK
This package contains types for .NET applications to use to integrate with Antithesis.
- The
Assert
class enables defining test properties about your program or workload. - The
Lifecycle
class contains methods used to inform Antithesis that particular test phases or milestones have been reached. - The
Random
class is a subclass ofSystem.Random
that encapsules Antithesis's deterministic and reproducible random number generator.
For general usage guidance see the Antithesis .NET SDK Documentation.
Notes
This .NET 6.0+ Antithesis.SDK package's only dependency is the Antithesis.SDK.SourceGenerators package. The Antithesis.SDK.SourceGenerators package contains a .NET Incremental Source Generator that adds a C# file to each Assembly that references it. The file contains a ModuleInitializer that calls Antithesis.SDK.Catalog for each Antithesis.SDK.Assert method call found during compilation. This informs Antithesis of every assertion regardless of whether or not the assertion is encountered during runtime.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Antithesis.SDK.SourceGenerators:
Package | Downloads |
---|---|
Antithesis.SDK
This package contains types for .NET applications to use to integrate with Antithesis. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.31 | 310 | 6/10/2025 |
1.0.28-beta | 168 | 5/28/2025 |
1.0.1-alpha | 387 | 5/14/2025 |
0.1.81-alpha | 151 | 4/25/2025 |