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
                    
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="Antithesis.SDK.SourceGenerators" Version="1.0.31">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Antithesis.SDK.SourceGenerators" Version="1.0.31" />
                    
Directory.Packages.props
<PackageReference Include="Antithesis.SDK.SourceGenerators">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
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 Antithesis.SDK.SourceGenerators --version 1.0.31
                    
#r "nuget: Antithesis.SDK.SourceGenerators, 1.0.31"
                    
#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 Antithesis.SDK.SourceGenerators@1.0.31
                    
#: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=Antithesis.SDK.SourceGenerators&version=1.0.31
                    
Install as a Cake Addin
#tool nuget:?package=Antithesis.SDK.SourceGenerators&version=1.0.31
                    
Install as a Cake Tool

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 of System.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.

There are no supported framework assets in this package.

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