RiftTest — GDScript Test Scaffold Generator for Godot 4
RiftTest scans your GDScript files, detects all testable functions, and auto-generates GdUnit4-compatible test files. Includes mock setups, edge case suggestions (zero, negative, null, large inputs), and signal emission tests. Stop writing boilerplate — start writing assertions.
Single Python file. Zero dependencies. 100% local.
GdUnit4 compatible test output
Auto-detects public functions and generates tests
Edge case generation (zero, negative, large, null inputs)
Signal emission test scaffolding
Preview mode shows test plan before generating
Outputs .gd test files or JSON
Usage: python rifttest.py your_project/ -o tests/
Preview: python rifttest.py your_project/ --preview