On Wednesday, 14 November 2012 at 07:34, Alexandre Gattiker wrote:
Hi,
How can I avoid running the initialization code below when doing a dry run?
@Before
public void before(ScenarioResult result) {
clearDatabase();
}
Thanks in advance,
Alexandre
--
-- Rules --
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cu...@googlegroups.com. To unsubscribe from this group, send email to cukes+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
Hi,
How can I avoid running the initialization code below when doing a dry run?
@Before
public void before(ScenarioResult result) {
clearDatabase();
}
Thanks in advance,
Alexandre
On Wed, Nov 14, 2012 at 5:03 PM, Robert <rest...@gmail.com> wrote:
On Tuesday, November 13, 2012 11:34:00 PM UTC-8, Alexandre Gattiker wrote:Hi,
How can I avoid running the initialization code below when doing a dry run?
@Before
public void before(ScenarioResult result) {
clearDatabase();
}
Thanks in advance,
Alexandre
I'm having similar issues with dry run executing the @Before codeCreate a Github issue please