librelist archives

« back to archive

melomel-examples

melomel-examples

From:
Georg Meyer
Date:
2011-07-22 @ 13:27
Hi guys,

I've found it a bit irritating, that you don't use the waiting wrapper

Melomel::Cucumber.run! do
  ...
end

in your examples:

https://github.com/benbjohnson/melomel-examples/blob/master/cuke-spark/features/step_definitions/application_steps.rb

It took me a while, until I found out, why my tests fail even though
melomel is supposed to wait, until the app is not busy anymore.

Is there a reason for this?

regards,

Georg


Re: [melomel] melomel-examples

From:
Ben Johnson
Date:
2011-07-22 @ 16:02
Yes, there is a reason but not a very good one. The examples project just 
hasn't been kept up to date. It definitely needs some attention.

Ben


On Jul 22, 2011, at 7:27 AM, Georg Meyer wrote:

> Hi guys,
> 
> I've found it a bit irritating, that you don't use the waiting wrapper
> 
> Melomel::Cucumber.run! do
>  ...
> end
> 
> in your examples:
> 
https://github.com/benbjohnson/melomel-examples/blob/master/cuke-spark/features/step_definitions/application_steps.rb
> 
> It took me a while, until I found out, why my tests fail even though
> melomel is supposed to wait, until the app is not busy anymore.
> 
> Is there a reason for this?
> 
> regards,
> 
> Georg
> 
> 
>