A custom Angular builder for Gherkin TestCafe. Serves the Angular application, and then runs the Gherkin TestCafe tests.
- publishing to npm
- sample project
$ npm install --save-dev @adaskothebeast/angular-gherkin-testcafe-builder$ yarn add -D @adaskothebeast/angular-gherkin-testcafe-builder{ "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 for a list of all options
$ yarn buildThis project is highly influenced by angular-testcafe - schema and .d.ts files were compared with current implementation of testcafe and gherkin-testcafe - some names and descriptions were adjusted.