Message from discussion
Multiple --runmode flags?
Received: by 10.58.202.234 with SMTP id kl10mr1010299vec.33.1351888963153;
Fri, 02 Nov 2012 13:42:43 -0700 (PDT)
X-BeenThere: robotframework-users@googlegroups.com
Received: by 10.52.67.52 with SMTP id k20ls4055466vdt.1.gmail; Fri, 02 Nov
2012 13:42:42 -0700 (PDT)
Received: by 10.59.0.234 with SMTP id bb10mr990458ved.32.1351888962004;
Fri, 02 Nov 2012 13:42:42 -0700 (PDT)
Received: by 10.59.0.234 with SMTP id bb10mr990457ved.32.1351888961988;
Fri, 02 Nov 2012 13:42:41 -0700 (PDT)
Return-Path: <pekka.kla...@gmail.com>
Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169])
by gmr-mx.google.com with ESMTPS id bn19si810835vdb.0.2012.11.02.13.42.41
(version=TLSv1/SSLv3 cipher=OTHER);
Fri, 02 Nov 2012 13:42:41 -0700 (PDT)
Received-SPF: pass (google.com: domain of pekka.kla...@gmail.com designates 209.85.220.169 as permitted sender) client-ip=209.85.220.169;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of pekka.kla...@gmail.com designates 209.85.220.169 as permitted sender) smtp.mail=pekka.kla...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-vc0-f169.google.com with SMTP id fl17so4070593vcb.28
for <robotframework-users@googlegroups.com>; Fri, 02 Nov 2012 13:42:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:sender:in-reply-to:references:date
:x-google-sender-auth:message-id:subject:from:to:cc:content-type;
bh=ZPoYyqpjnDSGJLUffZUpS9SExK6Bh40qRn3HoG07+Hs=;
b=ZRc32HTX0adCnRjUf/dk8RTaZ0awwFMJhRR7TsNwcsrxJRD8zqvMgCxI8JEYPL3d2P
9tMDvTOuCm+UXE8XhyWZb1WFp1ep9l27i+wVhdtsgEw3Yv4gqs7btSFrYecGbO6FEsVY
GtD8wzcIo9qyuON/hY1poxPCpKjYzDViFhmCx/y+LUL8OYkk54YgTALYT3UdSZHWj9q/
XuZY5hkf/lC+KRIXZXPPqWGottBvk82uQU7rAjrHXkyekRDqZ2MsRpIHXcuu/HbIzQan
mcRYdKq9YBMHEZlPESQgBvoBDan+cFZ7w0cfJh7+Qjx97MmLPfcbOE89Q7z/QiLKUT6v
ZAlg==
MIME-Version: 1.0
Received: by 10.52.70.8 with SMTP id i8mr2609854vdu.24.1351888961732; Fri, 02
Nov 2012 13:42:41 -0700 (PDT)
Sender: pekka.kla...@gmail.com
Received: by 10.220.9.4 with HTTP; Fri, 2 Nov 2012 13:42:41 -0700 (PDT)
In-Reply-To: <465e10e8-29f1-4026-a854-c9c9af6f933d@googlegroups.com>
References: <465e10e8-29f1-4026-a854-c9c9af6f933d@googlegroups.com>
Date: Fri, 2 Nov 2012 22:42:41 +0200
Message-ID: <CACXFLVfdaz8nGOYv4B_oix5eCE0Q=w90LmLDu4xGLnzaOfM...@mail.gmail.com>
Subject: Re: Multiple --runmode flags?
From: =?ISO-8859-1?Q?Pekka_Kl=E4rck?= <p...@iki.fi>
To: t...@maldivica.com
Cc: robotframework-users@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1
2012/11/2 Trey Duskin <t...@maldivica.com>:
>
> 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?
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