Re: [rspec-users] Cucumber: Migrating RSpec Story L isteners to Cucumber

2008-10-14 Thread Thomas Marek
imilar way to > > #run_step, > > # see Executor#define_step_call_methods > > if cucumber_scenario.successful? > >take_screenshot(cucumber_scenario.id) # Each scenario should have > > a unique id that can be used in e.g. file names. > > end > >

Re: [rspec-users] Cucumber: Migrating RSpec Story L isteners to Cucumber

2008-10-14 Thread Thomas Marek
No advice on that? Should i open a ticket on Lighthouse? I also would try to implement that... Thanks, Thomas > -Ursprüngliche Nachricht- > Von: "Thomas Marek" <[EMAIL PROTECTED]> > Gesendet: 09.10.08 15:25:14 > An: rspec-users > Betreff: [rspec-users]

[rspec-users] Cucumber: Migrating RSpec Story Listeners to Cucumber

2008-10-09 Thread Thomas Marek
Hello, i written a rails plugin for driving Selenium from the RSpec Story Runner: http://github.com/tmak/rspec-rails-selenium-story Now, i want to migrate my plugin to cucumber. My question: I used the scenario_failed method of the Story Listener to make screenshots of failing story scenari

Re: [rspec-users] how to set up data before story runner steps?

2008-02-27 Thread Thomas Marek
Bei schrieb: > Hi > > I'm using story runner of RSpec now. What I'm trying to do is > initializing the @selenium before any steps of one story is executing, > and stop @selenium after any story is finished. just as @BeforeClass > and @AfterClass in jUnit > Any suggestions on this? > >