Connects Spinach to CI::Reporter, and then to your CI system.
The latest release of Spinach 0.8 is supported.
Add this line to your application's Gemfile:
gem 'ci_reporter_spinach'
And then install it:
$ bundle
Require the reporter in your Rakefile, and ensure that
ci:setup:spinach
is a dependency of your Spinach task.
Unlike other CI::Reporter gems, you must also explictly tell Spinach to use the reporter!
require 'ci/reporter/rake/spinach'
task :spinach do
# Note `-r ci_reporter`!
exec "spinach -r ci_reporter"
end
task :spinach => 'ci:setup:spinach'
Refer to the shared documentation for details on setting up CI::Reporter.
If you use both Cucumber and Spinach, you are likely to see strange
errors due to gherkin
and gherkin-ruby
both being loaded. Choose
only one of these frameworks.
- Fork it ( https://github.com/ci-reporter/ci_reporter_spinach/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Add a failing test.
- Commit your changes (
git commit -am 'Add some feature'
) - Ensure tests pass.
- Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request