Allure ruby
Ruby testing framework adapters for generating allure compatible test reports.
Supported frameworks
allure-cucumber
gem "allure-cucumber"Implementation of allure adapter for Cucumber testing framework
Detailed usage and setup instruction can be found in allure-cucumber docs
allure-rspec
gem "allure-rspec"Implementation of allure adapter for RSpec testing framework
Detailed usage and setup instruction can be found in allure-rspec docs
Development
allure-ruby-commons
gem "allure-ruby-commons"Common allure lifecycle interface to be used by other testing frameworks to generate allure reports
Interaction and usage of allure lifecycle is described in allure-ruby-commons docs
Contributing
- Install dependencies:
$ bundle install
Bundle complete! ...-
Make changes
-
Run linter:
$ bundle exec rake rubocop
Executing rubocop for allure-cucumber
...
no offenses detected
Executing rubocop for allure-rspec
...
no offenses detected
Executing rubocop for allure-ruby-commons
...
no offenses detected- Run tests:
$ bundle exec rake test
Executing test for allure-cucumber
...
0 failures
Executing test for allure-rspec
...
0 failures
Executing test for allure-ruby-commons
...
0 failures- Submit a PR
Releasing
New version can be created by triggering manual Release workflow
Generating HTML report
Ruby binding hosted in this repository only generate source json files for the allure reporter.
See documentation on how to generate report and it's features.