Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adtf2020/bdd-with-robotframework-selenium
Behavior-Driven Development (Gherkin) framework with Robot Framework and Selenium WebDriver
https://github.com/adtf2020/bdd-with-robotframework-selenium
bdd bdd-framework bdd-style bdd-style-testing-framework bdd-style-ui-test
Last synced: about 1 month ago
JSON representation
Behavior-Driven Development (Gherkin) framework with Robot Framework and Selenium WebDriver
- Host: GitHub
- URL: https://github.com/adtf2020/bdd-with-robotframework-selenium
- Owner: adtf2020
- Created: 2020-10-20T17:20:05.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-12T00:58:49.000Z (over 3 years ago)
- Last Synced: 2023-10-25T14:53:39.297Z (about 1 year ago)
- Topics: bdd, bdd-framework, bdd-style, bdd-style-testing-framework, bdd-style-ui-test
- Language: JavaScript
- Homepage:
- Size: 281 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Behavior-Driven Development (Gherkin) with Robot Framework and Selenium WebDriver
This project is bootstrapped by [aurelia-cli](https://github.com/aurelia/cli).
For more information, go to https://aurelia.io/docs/cli/webpack
## Quick start with Robot Framework
Here's how to run the web application and the automated tests.
```
node -v
npm -v
sudo npm install -g aurelia-cli
cd path/to/project
npm install
au run --open
python3 -m venv venv-bdd-rfs
source venv-bdd-rfs/bin/activate
python3 -m pip install -r requirements.txt
robot --outputdir robot_output test/ui/todos.robot
```## Run dev app
Run `npm start`, then open `http://localhost:8080`
You can change the standard webpack configurations from CLI easily with something like this: `npm start -- --open --port 8888`. However, it is better to change the respective npm scripts or `webpack.config.js` with these options, as per your need.
To enable Webpack Bundle Analyzer, do `npm run analyze` (production build).
To enable hot module reload, do `npm start -- --hmr`.
To change dev server port, do `npm start -- --port 8888`.
To change dev server host, do `npm start -- --host 127.0.0.1`
**PS:** You could mix all the flags as well, `npm start -- --host 127.0.0.1 --port 7070 --open --hmr`
For long time aurelia-cli user, you can still use `au run` with those arguments like `au run --env prod --open --hmr`. But `au run` now simply executes `npm start` command.
## Build for production
Run `npm run build`, or the old way `au build --env prod`.
## Unit tests
Run `au test` (or `au jest`).
To run in watch mode, `au test --watch` or `au jest --watch`.