Skip to content

sparkkoori/sgut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sgut

sgut (Simple Godot Unit Test) is a unit test tool for godot(gdscript)

Usage

  1. Copy sgut.gd to your projects and attach it to a scene.

  2. Write foobar_test.gd at anywhere.

    	func test_pass(t):
    		pass
    
    	func test_fail(t):
    		t.fail()
    
    	func test_yield(t):
    		#do something
    		yield(obj,"signal")
    		#do something
    		t.finish()
  3. Run the scene.

About

a simple godot unit test tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published