Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adtf2020/bdd-with-cypress
Behavior-Driven Development (Gherkin) framework with Cypress
https://github.com/adtf2020/bdd-with-cypress
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 Cypress
- Host: GitHub
- URL: https://github.com/adtf2020/bdd-with-cypress
- Owner: adtf2020
- Created: 2021-01-19T13:21:06.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-02T16:29:39.000Z (almost 4 years ago)
- Last Synced: 2023-10-25T14:53:39.263Z (about 1 year ago)
- Topics: bdd, bdd-framework, bdd-style, bdd-style-testing-framework, bdd-style-ui-test
- Language: JavaScript
- Homepage:
- Size: 487 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# todos-bdd-with-cypress
The web application is bootstrapped by [aurelia-cli](https://github.com/aurelia/cli).
The application tests are automated using [Cypress](https://www.cypress.io/).
## Quick start
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
```
Open another cmd to run cypress tests\
Run ```npm run report:clean``` to clean report folders\
There are two ways to run cypress tests:
### 1) Run cypress tests using cmdRun ```npm run cy:run:chrome``` to run tests on chrome browser, you can replace 'chrome' in the cmd by 'firefox' or 'electron'\
Run ```npm run cucumber:report:generate``` to generate HTML test report### 2) Run cypress tests using cypress test runner
Run ```npm run cy:open``` to open cypress tests runner\
Select the browser to use\
Click on todos.feature file name to execute tests\
Once run is done, you can stop the runner and execute ```npm run cucumber:report:generate``` to generate HTML test report