On Sat, Dec 13, 2008 at 12:55 AM, Emmanuel Pinault <seatm...@gmail.com>wrote:

> Hi
>
> So I built a custom formatter as the default html provided seems to lack
> few information (like number of scenarios that passed,failed, skipped ..)
>
> I cannot seem to load my custom scenario
>
> I called it my_formatter.rb and class is MyFormatter.
>
> I tried cucumber -r my_formatter mytest.feature
> I tried cucumber -r my mytest.feature
>
> and no matter what I am getting the help menu with invalid format...
>

Is the explanation of --format not clear? Have you tried:

cucumber -r my_formatter -f MyFormatter mytest.feature


> also, is there a place to understand all the available hooks and order they
> are called? Looking at the html, pretty and progress , I can see a lot of
> available hooks with some that requires to call an accept method...
>

What do you mean by hooks? This?
http://github.com/aslakhellesoy/cucumber/wikis/hooks

#accept is part of the internal API to traverse the internal structure of
features. It's using the visitor pattern. Are you familiar with that?

Aslak


>
> Any ideas?
>
> Thanks
>
> Emmanuel
>
> _______________________________________________
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to