Add test counter
This commit is contained in:
parent
6dda982c46
commit
e0d8f0d125
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ func _ready() -> void:
|
||||||
print() # Newline
|
print() # Newline
|
||||||
lresu("Test statistics:")
|
lresu("Test statistics:")
|
||||||
if stats_all == 0: lresu(" -> [color=white]No tests were executed[/color]")
|
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:
|
else:
|
||||||
lresu(" -> [color=green]" + str(stats_ok) + " tests have passed[/color]")
|
lresu(" -> [color=green]" + str(stats_ok) + " tests have passed[/color]")
|
||||||
lresu(" -> [color=yellow]" + str(stats_warn) + " tests have passed with warnings[/color]")
|
lresu(" -> [color=yellow]" + str(stats_warn) + " tests have passed with warnings[/color]")
|
||||||
|
|
Loading…
Reference in a new issue