[rspec-users] Database custom formatter
samwgoldman at gmail.com
Fri Apr 6 18:15:08 UTC 2012
I can add another example, that outputs HTML/JSON from a formatter.
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.
On Fri, Apr 6, 2012 at 1:38 PM, Alex Chaffee <alexch at 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 at rubyforge.org
More information about the rspec-users