[rspec-users] Selenium, Spec:Ui and ... forks?

Marcus Ahnve marcus at ahnve.com
Wed May 30 12:45:23 EDT 2007


On 5/29/07, aslak hellesoy <aslak.hellesoy at gmail.com> wrote:
> On 5/29/07, Marcus Ahnve <marcus at ahnve.com> wrote:
> > I am using Spec:UI to run my Selenium tests, and I want to start
> > Selenium only once, for many descriptions.
> > The problem is that the browser is killed before the specs are run.
> > Anyone has an idea why this is happening?
> >
>
> Yes, because requiring a spec file doesn't automatically run it - it
> just queues it up for running. Try killing your $browser in an
> at_exit{} block instead

Brilliant. Thanks.

Cheers /Marcus

-- 
http://marcus.ahnve.net


More information about the rspec-users mailing list