MikeSchulze / gdUnit3Mono

The c# module to GdUnit3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GdUnit3Mono GitHub release (latest by date)

The C# extension for GdUnit3


GitHub branch checks state

What is GdUnit3Mono

GdUnit3Mono is the C# extention to enable GdUnit3 to run/write unit tests in C#.

Features

  • Configurable template for the creation of a new test-suite
  • A spacious set of Asserts use to verify your code
  • Fluent syntax support
  • Test Fuzzing support
  • Provides a scene runner to simulate interactions on a scene
    • Simulate by Input events like mouse and/or keyboard
    • Simulate scene processing by a certain number of frames
    • Simulate scene processing by waiting for a specific signal

Short Example

namespace GdUnit3.Tests
{
   using static Assertions;

   [TestSuite]
   public class StringAssertTest
   {
       [TestCase]
       public void IsEqual()
       {
           AssertThat("This is a test message").IsEqual("This is a test message");
       }
   }
}

Documentation

How to Install GdUnit3Mono

API Documentation


You are welcome to:

GitHub issues GitHub closed issues
GitHub top language GitHub code size in bytes

Join GdUnit3 Server

Thank you for supporting my project!


Sponsors:

About

The c# module to GdUnit3

License:MIT License


Languages

Language:C# 98.7%Language:GDScript 1.2%Language:Shell 0.1%Language:Batchfile 0.1%