Accelergreat xunit testing tools. Accelergreat is an integration testing package that helps to simplify and speed up the writing of integration tests, as well as taking away the challenging task of managing external dependencies.
License
—
Deps
18
Install Size
—
Vulns
✓ 0
Published
Feb 25, 2026
$ dotnet add package Accelergreat.XunitxUnit 2 integration package for Accelergreat.
dotnet add package Accelergreat.Xunit
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Accelergreat.Xunit" Version="5.0.0-beta.eadb69d" />
<PackageReference Include="xunit" Version="2.*" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.*" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.*" />
</ItemGroup>
</Project>
AccelergreatXunitTest base class for integration testsIAccelergreatEnvironmentPoolIAccelergreatStartuppublic class Startup : IAccelergreatStartup
{
public void Configure(IAccelergreatBuilder builder)
{
builder.AddAccelergreatComponent<AppDatabaseComponent>();
builder.AddAccelergreatComponent<AppApiComponent>();
}
}
public class ApiTests : AccelergreatXunitTest
{
public ApiTests(IAccelergreatEnvironmentPool environmentPool) : base(environmentPool)
{
}
[Fact]
public async Task Should_return_ok()
{
var client = GetComponent<AppApiComponent>().CreateClient();
var response = await client.GetAsync("/health");
response.EnsureSuccessStatusCode();
}
}
Accelergreat.Xunit3.dotnet test Accelergreat.sln -m:1
Accelergreat.Xunit3 for xUnit3 projects.IAccelergreatEnvironmentPool in your test constructor.Migration steps and pitfalls are documented in: