Log testing errors
This commit is contained in:
1 parent
c5680f7b06
commit
5d81f025ad
1 file changed
+4
+4
@@ -53,6 +53,10 @@ function RunTests(instance as string, content as object) as void
|
|||||||
m[testNode.func](instance, testNode)
|
m[testNode.func](instance, testNode)
|
||||||
testNode.duration = timer.TotalMilliseconds()
|
testNode.duration = timer.TotalMilliseconds()
|
||||||
|
|
||||||
|
if testNode.state = "failed"
|
||||||
|
LogError(testNode.details)
|
||||||
|
end if
|
||||||
|
|
||||||
if m.top.cancel
|
if m.top.cancel
|
||||||
return
|
return
|
||||||
end if
|
end if
|
||||||
|
|||||||
Reference in new issue
Block a user