Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A webkit-aware pretty formatter for RSpec. It was written to take advantage of some of the advanced features of the webkit HTML engine, like the one TextMate uses for its output.
branch: master

This branch is 101 commits behind ged:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
data/rspec-formatter-webkit
docs
legacy
lib/rspec/core/formatters
.hgignore
.hgsigs
.hgtags
History.md
LICENSE
Manifest.txt
README.md
Rakefile
output.html

README.md

A WebKit RSpec Formatter

http://deveiate.org/webkit-rspec-formatter.html

Description

This is a formatter for RSpec 2 that takes advantage of features in WebKit to make the output from RSpec in Textmate more fun.

Test output looks like this:

Example Output

Installation

To get started, install the rspec-formatter-webkit gem:

$ gem install rspec-formatter-webkit

If you're running specs in Textmate via the RSpec bundle, you can use the webkit formatter by opening Textmate's 'Advanced' Preferences and adding a TM_RSPEC_OPTS Shell Variable with the value --format RSpec::Core::Formatters::WebKit:

Setting TM_RSPEC_OPTS

That's it!

Miscellaneous

It's also usable anywhere else the standard HTML formatter is, of course. Also, while it's specifically intended to be used under the Textmate HTML viewer that the RSpec bundle uses, the output should work fine under recent Gecko/Firefox-based viewers, as well.

Patches/suggestions welcomed.

Something went wrong with that request. Please try again.