I can add another example, that outputs HTML/JSON from a formatter.

https://github.com/zipmark/rspec_api_documentation/blob/master/lib/rspec_api_documentation/api_formatter.rb

This formatter works in concert with a DSL built on top of RSpec to
output HTTP API documentation based on the test examples. The code for
this formatter is split up between a number of classes. Of note are
ApiFormatter, ApiDocumentation, Example, and Index.

HTH,
Sam

On Fri, Apr 6, 2012 at 1:38 PM, Alex Chaffee <ale...@gmail.com> wrote:
> I'm about to start work on a JSON formatter. (I need it for a project where
> I'm executing RSpec on a server and shipping it down to a JS/HTML client for
> http://testfirst.org .) Any advice other than "look at
> lib/rspec/core/formatters/*.rb" before I start?
>
>
> _______________________________________________
> 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