Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prashanth-sams/ruby-cucumber-framework
A Ruby Cucumber generic framework
https://github.com/prashanth-sams/ruby-cucumber-framework
automation cucumber docker framework ruby ruby-automation ruby-cucumber ruby-cucumber-framework
Last synced: 4 days ago
JSON representation
A Ruby Cucumber generic framework
- Host: GitHub
- URL: https://github.com/prashanth-sams/ruby-cucumber-framework
- Owner: prashanth-sams
- Created: 2018-03-12T11:47:26.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-07-28T04:55:02.000Z (over 4 years ago)
- Last Synced: 2024-10-27T20:02:21.045Z (about 2 months ago)
- Topics: automation, cucumber, docker, framework, ruby, ruby-automation, ruby-cucumber, ruby-cucumber-framework
- Language: HTML
- Homepage:
- Size: 474 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ruby Cucumber Framework
> Generic ruby cucumber framework using selenium webdriver### Features
- Allure report
- Cucumber JSON report
- Cucumber feature - cucumber - step-definition
- Cross browser support
- Logger
- Screenshots on failure
- Retry on failure## Docker
##### Simple run
```bash
docker-compose up -d --scale node-chrome=2
rake spec DOCKER=ON
docker-compose down
```
##### Build Docker image
```bash
docker build -t .
```##### Docker container
```bash
docker run -d -t
```Test runner
----------
##### Rake runner
```bash
rake spec
```##### Allure report
```bash
rake allure
allure generate reports/allure-results-json/ --clean && allure open
```###### custom allure html output folder
```bash
allure generate reports/allure-results-json/ -o reports/allure-results-html --clean && allure open reports/allure-results-html/
```## Browser
```bash
# chrome
rake allure BROWSER=chrome# firefox
rake allure BROWSER=firefox
```##### Xvfb headless mode
```bash
source /usr/local/rvm/scripts/rvm
export DISPLAY=:20
Xvfb :20 -screen 0 1366x768x16 &
cucumber features/scenario/demo/google.feature
```##### Browser headless mode
```bash
source /usr/local/rvm/scripts/rvm
cucumber features/scenario/demo/google.feature MODE=headless
```## Logs
```bash
rake allure LOGGER=ON
```