https://github.com/allure-examples/allure-cucumber-example
Example of Allure Report usage with Cucumber and Ruby
https://github.com/allure-examples/allure-cucumber-example
Last synced: about 1 year ago
JSON representation
Example of Allure Report usage with Cucumber and Ruby
- Host: GitHub
- URL: https://github.com/allure-examples/allure-cucumber-example
- Owner: allure-examples
- Created: 2014-09-19T10:27:15.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-12-09T18:23:28.000Z (over 1 year ago)
- Last Synced: 2025-03-28T03:41:13.456Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 466 KB
- Stars: 7
- Watchers: 7
- Forks: 12
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Allure Cucumber Example
This example demonstrates how to use Allure [Cucumber](http://cukes.info/) adaptor.
## Usage
To launch this example you should install Ruby and the allure-cucumber gem.
### 1. Clone this project
### 2. Install rbenv
[Installation](https://github.com/rbenv/rbenv#installation)
### 3. Install Ruby
```bash
rbenv install 3.1.4
```
### 4. Install bundler
```bash
gem install bundler
```
### 5. Install all the required dependencies
```bash
bundle install
```
### 6. Run the features
```bash
bundle exec cucumber
```
You should see failed tests and generated Allure json files in **report/allure-results** directory. Now you can generate the report using any of the [available facilities](https://docs.qameta.io/allure/#_reporting).