This package has been deprecated

Author message:

Angular Testcafe has graduated and is now officially supported by the Testcafe team. This package (angular-testcafe-builder) is DEPRECATED, please upgrade to the angular-testcafe package.

@politie/angular-testcafe-builder
TypeScript icon, indicating that this package has built-in type declarations

2.0.5 • Public • Published

angular-testcafe Build Status

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

Install

$ npm install --save-dev @politie/angular-testcafe-builder

Use in angular.json

{
  "projects": {
    "my-project-e2e": {
      "architect": {
        "e2e": {
          "builder": "@politie/angular-testcafe-builder:testcafe",
          "options": {
            "browsers": [
              "chrome --no-sandbox",
              "firefox"
            ],
            "src": ["e2e/*.e2e-spec.ts"],
            "reporters": [
              {
                "name": "html",
                "output": "path/to/my/report.html"
              },
              {
                "name": "spec"
              }
            ]
          }
        }
      }
    }
  }
}

NOTE: check schema.json for a list of all options

A tutorial how to use Angular and Testcafe combined with this builder can be found here

build

$ npm run build

pack

$ npm pack

NOT Implemented (TODO):

  • remote browsers
  • QR code
  • video
  • ssl
  • clientScripts

Package Sidebar

Install

npm i @politie/angular-testcafe-builder

Weekly Downloads

132

Version

2.0.5

License

MIT

Unpacked Size

20.5 kB

Total Files

7

Last publish

Collaborators

  • ruudvandergijp
  • rkettelerij
  • bjeaurn
  • xi-cephei
  • yasinkocak
  • emielb