2dog.xunit
0.1.15-pre
This is a prerelease version of 2dog.xunit.
dotnet add package 2dog.xunit --version 0.1.15-pre
NuGet\Install-Package 2dog.xunit -Version 0.1.15-pre
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="2dog.xunit" Version="0.1.15-pre" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="2dog.xunit" Version="0.1.15-pre" />
<PackageReference Include="2dog.xunit" />
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 2dog.xunit --version 0.1.15-pre
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: 2dog.xunit, 0.1.15-pre"
#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 2dog.xunit@0.1.15-pre
#: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=2dog.xunit&version=0.1.15-pre&prerelease
#tool nuget:?package=2dog.xunit&version=0.1.15-pre&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
2dog.xunit
xUnit test fixtures for testing Godot applications built with 2dog.
Fixtures
GodotFixture- Full Godot fixture with rendering supportGodotHeadlessFixture- Headless fixture for CI/automated testing
Usage
using twodog.xunit;
[CollectionDefinition("Godot", DisableParallelization = true)]
public class GodotCollection : ICollectionFixture<GodotHeadlessFixture>;
[Collection("Godot")]
public class MyTests(GodotHeadlessFixture godot)
{
[Fact]
public void EngineStarts()
{
Assert.NotNull(godot.Engine.Tree);
}
}
Note: Only one Godot instance can exist per process. Use DisableParallelization = true on your collection definition.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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.
-
net8.0
- 2dog (>= 0.1.15-pre)
- JetBrains.Annotations (>= 2025.2.4)
- xunit (>= 2.9.2)
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.1.15-pre | 0 | 2/5/2026 |
| 0.1.14-pre | 35 | 2/3/2026 |
| 0.1.13-pre | 32 | 2/3/2026 |
| 0.1.12-pre | 29 | 2/3/2026 |
| 0.1.11-pre | 33 | 2/3/2026 |
| 0.1.10-pre | 42 | 2/2/2026 |
| 0.1.9-pre | 46 | 2/1/2026 |
| 0.1.1-pre | 43 | 2/1/2026 |
| 0.1.0-pre | 42 | 2/1/2026 |