Add basic test for creating a thread
This commit is contained in:
parent
122e279256
commit
b650a9f401
4 changed files with 95 additions and 16 deletions
|
|
@ -44,6 +44,7 @@ template withBackend(body: untyped): untyped =
|
|||
body
|
||||
|
||||
import browsertests/scenario1
|
||||
import browsertests/threads
|
||||
|
||||
when isMainModule:
|
||||
spawn runProcess("geckodriver -p 4444 --log config")
|
||||
|
|
@ -63,8 +64,9 @@ when isMainModule:
|
|||
|
||||
withBackend:
|
||||
scenario1.test(session, baseUrl)
|
||||
threads.test(session, baseUrl)
|
||||
|
||||
session.close()
|
||||
except:
|
||||
sleep(10000) # See if we can grab any more output.
|
||||
raise
|
||||
raise
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue