Multiple --runmode flags?

29 views
Skip to first unread message

Trey Duskin

unread,
Nov 1, 2012, 6:09:07 PM11/1/12
to robotframe...@googlegroups.com
Hi,

I want to use the --runmode setting to basically bail out of a test suite whenever there is a test failure, and I don't want the teardown for the test or the suite to be run.  The idea is, when it fails, I want to go in an inspect the state of the system and see how it failed.  I see from the doc there are two flags called ExitOnFailure and SkipTeardownOnExit... can I specify both and get the effect of both?  Or, does one imply the other?

Thanks,
trey

Pekka Klärck

unread,
Nov 2, 2012, 4:42:41 PM11/2/12
to tr...@maldivica.com, robotframe...@googlegroups.com
2012/11/2 Trey Duskin <tr...@maldivica.com>:
You can use --runmode option multiple times:

--runmode ExitOnFailure --runmode SkipTeardownOnExit

All options that have * after them in the usage printed with --help allow this.

Cheers,
.peke
--
Agile Tester/Developer/Consultant :: http://eliga.fi
Lead Developer of Robot Framework :: http://robotframework.org
Reply all
Reply to author
Forward
0 new messages