5.0.0 • Published 6 months ago

@adaskothebeast/angular-gherkin-testcafe-builder v5.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

angular-gherkin-testcafe-builder

A custom Angular builder for Gherkin TestCafe. Serves the Angular application, and then runs the Gherkin TestCafe tests.

Todo

  • publishing to npm
  • sample project

Install

NPM

$ npm install --save-dev @adaskothebeast/angular-gherkin-testcafe-builder

YARN

$ yarn add -D @adaskothebeast/angular-gherkin-testcafe-builder

Use in project.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 for a list of all options

build

$ yarn build

This 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.

5.0.0

6 months ago

4.0.1

7 months ago

4.0.0

9 months ago

3.0.0

1 year ago

2.0.0

1 year ago

1.0.0

2 years ago

0.10.0

2 years ago

0.9.3

3 years ago

0.9.2

3 years ago

0.9.1

3 years ago

0.9.0

3 years ago