A Godot Integrated Unit Testing Framework
What is GdUnit3
GdUnit3 is a framework for testing GdScrips and Scenes within the Godot editor. GdUnit3 is very useful for test-driven development and will help you get your code bug-free.
Sneek-Peek
Features
- Fully integrated in the Godot editor
- Run test-suite(s) by using the context menu on FileSystem, ScriptEditor or GdUnitInspector
- Create test's directly from the ScriptEditor
- A spacious set of Asserts use to verify your code
- Argument matchers to verify the behavior of a function call by a specified argument type.
- Fluent syntax support
- Test Fuzzing support
- Mocking a class to simulate the implementation which you define the output of certain function
- Spy on a instance to verify that a function has been called with certain parameters.
- Mock or Spy on a Scene
- 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 proccessing by waiting for a specific signal
- Update Notifier to install latest version from GitHub
- Command Line Tool [[Command-Line-Tool]]
GdUnit3 v1.0.3 is out and available on AssetLib
You are welcome to report bugs or create new feature requests. I would also appreciate feedback.