Angular builder for Testcafe
npm install angular-testcafeA custom Angular builder for TestCafe.
Serves the Angular application, and then runs the TestCafe tests.
If your projects are still using @politie/angular-testcafe-builder, we recommend that you switch to angular-testcafe. The development of @politie/angular-testcafe-builder is discontinued: it won't receive any updates, even for critical bugs and security vulnerabilities.
bash
$ npm install --save-dev angular-testcafe
`Use in angular.json
`json
{
"projects": {
"my-project-e2e": {
"architect": {
"e2e": {
"builder": "angular-testcafe: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 optionsA tutorial how to use Angular and Testcafe combined with this builder can be found here
build
`bash
$ npm run build
`pack
`bash
$ npm pack
``Originally created at Dutch National Police by
* Tim Nederhoff (main author)
* Peter de Beijer
* Richard Kettelerij
* Bjorn Schijff
Developer Express Inc. (https://devexpress.com)