Skip to main content

TestGenAi

6 tools in this family (folder Editor/Tools/TestGenAi/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
testgen_analyze_fileread-onlyAnalyze a C# source file (typically a MonoBehaviour or plain class).
testgen_edit_mode_for_filewritesGenerate Edit Mode NUnit tests for the given C# file via the active LLM provider
testgen_ensure_assemblieswritesEnsure 'Assets/Tests/EditMode/EditMode.asmdef' and
testgen_for_monobehaviour_classwritesOne-shot Edit Mode test generation for a MonoBehaviour (or plain) class.
testgen_play_mode_for_filewritesGenerate Play Mode tests for the given C# file via the active LLM provider.
testgen_run_then_iteratewritesGenerate Edit Mode tests for a class, run them via run_edit_mode_tests, and on