Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/general fixes #284

Merged
merged 5 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions framework/src/source/BaseTestSuite.bs
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ namespace rooibos
m.testRunner.top.unobserveFieldScoped("rooibosGroupFinished")
' m.testGroupDone()
m.onAsyncGroupComplete(group)
else if m.testRunner.top.rooibosGroupFinished
m.onAsyncGroupComplete(group)
end if

end if
Expand Down
4 changes: 3 additions & 1 deletion framework/src/source/CommonUtils.bs
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,9 @@ namespace rooibos.common
'bs:disable-next-line
isFirst = false
end if
for each key in input
keys = input.keys()
keys.sort()
for each key in keys
if rooibos.common.canSafelyIterateAAKey(input, key)
text = text + key + ":" + rooibos.common.asString(input[key], includeType)
end if
Expand Down
2 changes: 1 addition & 1 deletion framework/src/source/Rooibos.bs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace rooibos
' leading to an instant exit of the application

' Give the io port time to finish sending all the logs
sleep(200)
sleep(400)
end
end if
end if
Expand Down
1 change: 1 addition & 0 deletions framework/src/source/TestRunner.bs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ namespace rooibos
? "Running suite asynchronously!"
m.nodeContext.top.observeFieldScoped("rooibosSuiteFinished", "Rooibos_onTestSuiteComplete")
testSuite.run()
return invalid
else
? "Running suite synchronously!"
testSuite.run()
Expand Down