Forum: RSpec [cucumber][v0.2alpha]Where could I find API docs for custom formatters?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Yingnan L. (Guest)
on 2009-02-13 12:59
(Received via mailing list)

I'm working on update my local Cucumber to the latest version. But it
the old formatter APIs(step_failed, scenario_executed, etc.) don't work
more. Are there some documents or even Cucumber source code I can refer

Thanks in advance,
Aslak H. (Guest)
on 2009-02-13 13:28
(Received via mailing list)
API is Cucumber::Ast::Visitor. See cucumber/formatter/*.rb for examples

Den 13. feb.. 2009 kl. 08.45 skrev Yingnan L. 
Joseph W. (Guest)
on 2009-02-13 13:37
(Received via mailing list)

Are you trying to update an old formatter to the newest release? The old
formatter API has changed in the latest release.

At the moment the best place to look is the current formatters source


pretty_formatter.rb is a good start.

Another good place to look would be the visitor class that contains all
the formatter hooks.


Note the current page on the wiki about formatters
applies to latest stable release (0.1.16). Once we have stablised the
Formatter api for version 0.2 we can update this page with the new

Joseph W.
This topic is locked and can not be replied to.