BessereTests/addons/besseretests/examples/example_test.gd

18 lines
717 B
GDScript3
Raw Normal View History

2024-03-28 05:37:29 +01:00
extends BessereTestsTest
#func before_all() -> void: ldiag("before_all() called")
#func after_all() -> void: ldiag("after_all() called")
#func before_each() -> void: ldiag("before_each() called")
#func after_each() -> void: ldiag("after_each() called")
func test_ok() -> void: rok("test_ok with a message")
func test_ok_nm() -> void: rok()
func test_warn() -> void: rwarn("test_warn with a message")
func test_warn_nm() -> void: rwarn()
func test_error() -> void: rerror("test_error with a message")
func test_error_nm() -> void: rerror()
func test_skip() -> void: rskip("test_skip with a message")
func test_skip_nm() -> void: rskip()
func test_forgot() -> void: pass
func test_invalid() -> void: test_status = 69