From e0d8f0d1251e14ba5dd2f596f8e226b00c2014af Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Thu, 28 Mar 2024 16:42:20 +0100 Subject: [PATCH] Add test counter --- addons/besseretests/src/runtimescene.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/besseretests/src/runtimescene.gd b/addons/besseretests/src/runtimescene.gd index a599111..fd40dac 100644 --- a/addons/besseretests/src/runtimescene.gd +++ b/addons/besseretests/src/runtimescene.gd @@ -78,7 +78,7 @@ func _ready() -> void: print() # Newline lresu("Test statistics:") if stats_all == 0: lresu(" -> [color=white]No tests were executed[/color]") - elif stats_all == stats_ok: lresu(" -> [color=green]All tests have passed") + elif stats_all == stats_ok: lresu(" -> [color=green]All " + str(stats_all) + " tests have passed") else: lresu(" -> [color=green]" + str(stats_ok) + " tests have passed[/color]") lresu(" -> [color=yellow]" + str(stats_warn) + " tests have passed with warnings[/color]")