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

https://github.com/iljapavlovs/cukes-rest-sample

Sample project using cukes-rest tool
https://github.com/iljapavlovs/cukes-rest-sample

Last synced: about 1 month ago
JSON representation

Sample project using cukes-rest tool

Awesome Lists containing this project

README

        

cukes-rest-sample
=======================

Example project using [cukes-rest](https://github.com/ctco/cukes-rest) tool. Project supports parallel exexcution using:
1. One "Runner" class per thread (use profile `parallel`). By "Runner" class is meant *FullCukesTestSuite* class in this example.
* **NOTE** - in order to use this approach, you will need to create separate "runner" class per one thread. Tests belonging to one "runner" class will be executed sequentially.
* More on this read [here](https://opencredo.com/running-cucumber-jvm-tests-in-parallel/).
2. Using [cucumber-jvm-parallel-plugin](https://github.com/temyers/cucumber-jvm-parallel-plugin) (use profile `parallelPlugin`)
* *cucumber-jvm-parallel-plugin* will automatically generates "runner" classes.
* More on this read [here](http://automationrhapsody.com/running-cucumber-tests-in-parallel/).

### Command for execution
```
mvn clean verify -P [singleThreaded,parallel,parallelPlugin]
```

* Thread count can be set via `-Dthreads` argument

### Reporting
Reports are generated by [maven-cucumber-reporting](https://github.com/damianszczepanik/maven-cucumber-reporting) plugin and can be found under *target/site/cucumber-reports/cucumber-html-reports*