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 stableIf 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"
fi3. Install Ruby
$ rvm install ruby-2.0
$ rvm use ruby-2.04. Install bundler
$ gem install bundler5. Install all the required dependencies
$ bundle install6. 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.