Example showing the configuration and the abilities of allure-rspec adaptor.
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
spec
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
failures_formatter.rb

README.md

Allure RSpec Example

This example demonstrates how to use Allure RSpec adaptor. It also shows the integration with the parallel_tests gem.

Usage

To launch this example you should install Ruby and the allure-rspec gem.

1. Clone this project

2. Install RVM:

$ \curl -L https://get.rvm.io | bash -s stable

If you are the Mac user, perhaps you will need to add theese lines into your .bashrc file manually:

if [[ -d "$HOME/.rvm" ]]; then
  source "$HOME/.rvm/scripts/rvm"
fi

3. Install Ruby

$ rvm install ruby-2.0
$ rvm use ruby-2.0

4. Install bundler

$ gem install bundler

5. Install all the required dependencies

$ bundle install

6. Run the specs in parallel

$ parallel_rspec spec/

You should see failed tests and generated Allure XML files in allure directory. Now you can generate the report using any of the available facilities.