Rspec::Axlsx::Formatter
"rspec-axlsx-formatter" is a RSpec custom formatter that uses Axlsx and generate xlsx file as spec result.
Installation
Add this line to your application's Gemfile:
gem 'rspec-axlsx-formatter'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rspec-axlsx-formatter
Usage
Require the follow in your Rakefile.
require 'rspec/axlsx/rake/rspec'
And, add axlsx:setup:rspec
at rake command.
Example)
rake axlsx:setup:rspec spec
This usage is similar to ci_report_rspec. (In actuality, I use ci_report_rspec as reference.)
Contributing
- Fork it ( https://github.com/[my-github-username]/rspec-axlsx-formatter/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Liscense
MIT