spektacular

In order to install this gem:

gem install spektacular

Make sure to add the gem to the Gemfile file located in your project directory:

gem 'spektacular', '0.1.3'

Usage

This is a preliminary version, and at this moment it overrides the old rspec html formatter. To generate the new report just do:

rspec -I . -f h spec/

This command will print out the result. If you want to save the output in a file, you can just do:

rspec -I . -f h spec/ > index.html

This will create a new index.html file in the root of your project directory.

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

Copyright (c) 2010 Daniel Salmerón Amselem. See LICENSE for details.