An open API service indexing awesome lists of open source software.

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

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).