This repository has been archived by the owner on May 13, 2022. It is now read-only.
Test Debugger no longer working #98
Labels
Comments
@danielmaddern did you also try running interactive debug mode from within a testcase (golem run -i <project> <testcase>) ? I seem to have no luck to get the shell running (even with the proposed fix from the PR) golem run -i does work by the way |
after some more troubleshooting I am convinced the interactive mode is impacted by 3e36f39 due to the usage of multiprocessing even when executing a single threaded test. The issue can be reproduced with the following code
In the above example the interactive session is directly closed after executing it. |
I think you're right.. Possible fix could be
|
luciano-renzi
added a commit
that referenced
this issue
May 11, 2018
fixed in 0.4.8 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
golem run -i works correctly with #97
adding debug() or a import pdb; pdb.set_trace() to a test no longer works, it enters then exits the debugger without stopping.
dbug() log:
INFO:golem:Click Login Button
Entering interactive debug mode
Type exit() to stop
now exiting InteractiveConsole...
pdb log:
13:17:24 INFO Click Login Button
INFO:golem:Click Login Button
The text was updated successfully, but these errors were encountered: