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
- Host: GitHub
- URL: https://github.com/iljapavlovs/cukes-rest-sample
- Owner: iljapavlovs
- Created: 2017-05-02T17:11:56.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-03T08:21:09.000Z (about 8 years ago)
- Last Synced: 2025-02-09T02:25:21.487Z (3 months ago)
- Language: Java
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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*