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

post-mortem resp. failure debugging #6

Closed
thet opened this issue Mar 17, 2014 · 4 comments
Closed

post-mortem resp. failure debugging #6

thet opened this issue Mar 17, 2014 · 4 comments

Comments

@thet
Copy link

thet commented Mar 17, 2014

is there a chance to add a keyword or debug-option to allow post-failure debugging, like the python post-mortem debugging feature? so, when i develop or debug robot tests, instead of failing hardly, i'd love to be prompted with the debug-shell to see what went wrong.

@thet
Copy link
Author

thet commented Mar 17, 2014

ah, i see the --runmode ExitOnFailure is related to this issue. but it's deprecated and i can't quickly find what's the alternative.
anyways, an port-failure debug console would be awesome.

@jollychang
Copy link
Collaborator

@thet
--runmode ExitOnFailure is deprecated?
but --exitonfailure works?
This is no plan for robotframework-debuglibrary add this feature.
Welcome your Pull Request for this feature :)

[jollychang@WilliamMBP robotframework-debuglibrary]$ pybot --version
Robot Framework 2.8.4 (Python 2.7.5 on darwin)
[jollychang@WilliamMBP robotframework-debuglibrary]$ pybot --help | grep "exitonfailure"
--exitonfailure Stops test execution if any critical test fails.
--dryrun, --exitonfailure, --skipteardownonexit, or

@thet
Copy link
Author

thet commented Apr 1, 2014

actually, i misunderstood what exitonfailure does. i need the debugger post-mortem. will look into that at some later point and hope to prepare a pull-request then.

@thet
Copy link
Author

thet commented Apr 25, 2014

that solves my issue: plone/plone.app.robotframework@75c0d03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants