godotengine / godotengine/godot-csharp-visualstudio

TDD Godot with VS2026 through 2dog

Open
#60 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
276
Forks
27
PR merge metrics
No merged PRs in 30d

Description

Perhaps we could not rethink how VS2026 could support TDD with Godot4 in .NET

https://github.com/outfox/2dog/issues/4

```c#
using twodog.xunit;

[Collection("GodotHeadless")]
public class GodotSceneTests(GodotHeadlessFixture godot)
{
[Fact]
public void LoadScene_ValidPath_Succeeds()
{
var scene = GD.Load("res://game.tscn");
var instance = scene.Instantiate();

godot.Tree.Root.AddChild(instance);

Assert.NotNull(instance.Parent);
}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.