Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adaskothebeast/angular-gherkin-testcafe-builder
A custom Angular builder for Gherkin TestCafe. Serves the Angular application, and then runs the Gherkin TestCafe tests.
https://github.com/adaskothebeast/angular-gherkin-testcafe-builder
angular gherkin testcafe
Last synced: 10 days ago
JSON representation
A custom Angular builder for Gherkin TestCafe. Serves the Angular application, and then runs the Gherkin TestCafe tests.
- Host: GitHub
- URL: https://github.com/adaskothebeast/angular-gherkin-testcafe-builder
- Owner: AdaskoTheBeAsT
- License: mit
- Created: 2020-08-22T08:33:31.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-12T19:10:02.000Z (about 1 year ago)
- Last Synced: 2024-08-10T09:05:14.942Z (4 months ago)
- Topics: angular, gherkin, testcafe
- Language: TypeScript
- Homepage:
- Size: 3.92 MB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# angular-gherkin-testcafe-builder
A custom Angular builder for [Gherkin TestCafe](https://github.com/kiwigrid/gherkin-testcafe). Serves the Angular application, and then runs the Gherkin TestCafe tests.
## Todo
- publishing to npm
- sample project## Install
### NPM
```bash
$ npm install --save-dev @adaskothebeast/angular-gherkin-testcafe-builder
```### YARN
```bash
$ yarn add -D @adaskothebeast/angular-gherkin-testcafe-builder
```## Use in project.json
```json
{
"targets": {
"e2e": {
"builder": "@adaskothebeast/angular-gherkin-testcafe-builder:gherkin-testcafe",
"options": {
"browsers": ["chrome --no-sandbox", "firefox"],
"src": ["e2e/**/*.steps.ts", "e2e/**/*.feature"],
"reporters": [
{
"name": "xunit",
"output": "path/to/my/report.xunit.xml"
},
{
"name": "nunit",
"output": "path/to/my/report.nunit.xml"
},
{
"name": "html",
"output": "path/to/my/report.html"
},
{
"name": "spec"
}
]
}
}
}
}
```> NOTE: check [schema.json](packages/angular-gherkin-testcafe-builder/src/lib/schema.json) for a list of all options
## build
```bash
$ yarn build
```This project is highly influenced by [angular-testcafe](https://github.com/politie/angular-testcafe) - schema and .d.ts files were compared with current implementation of testcafe and gherkin-testcafe - some names and descriptions were adjusted.