Maintaining code quality in growing Godot projects is challenging. This presentation introduces GdUnit4 and GdUnit4Net, comprehensive testing frameworks that bring professional testing capabilities to Godot development.
I’ll demonstrate practical examples of testing both GDScript and C# code, showing how to test game logic, scenes, and user interactions. Key highlights include:
- GdUnit4: Embedded testing in the Godot editor with fluent syntax and scene testing
- GdUnit4Net: v5.0 architecture with 10x performance improvements and full VSTest compatibility
- Real-world examples: Testing game mechanics and UI systems
- CI/CD integration: Automated testing workflows
Whether building indie games or enterprise applications, these frameworks provide the foundation for maintainable, bug-free code. Attendees will gain practical knowledge to immediately implement robust testing practices, reducing debugging time and improving code confidence.
Target Audience#
- Primary: Godot developers (beginner to advanced) interested in improving code quality
- Secondary: Professional game developers seeking robust testing solutions
- Tertiary: Anyone interested in Test-Driven Development practices in game development
Learning Objectives#
By the end of this session, attendees will be able to:
- Implement TDD workflows in Godot using GdUnit4 and GdUnit4Net
- Write comprehensive tests for game logic, scenes, and user interactions
- Leverage advanced features like mocking, scene runners, and parameterized tests
- Integrate automated testing into their CI/CD pipelines
- Debug and maintain large Godot projects with confidence
This presentation offers attendees practical knowledge to immediately improve their Godot development practices. By learning professional testing techniques, developers can build more robust, maintainable games while reducing debugging time and increasing code confidence.
