Add test counter

This commit is contained in:
JeremyStar™ 2024-03-28 16:42:20 +01:00
parent 6dda982c46
commit e0d8f0d125

View file

@ -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]")