Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Angular Testing with Jest and Cypress

Angular Testing with Jest and Cypress

Again and again, testing in the frontend is put on the back burner. Yet for a modern business application, it is inevitable to write reasonable tests in the frontend as well. In the development of Angular, testability was part of the concept from the very beginning. In this workshop, Fabian Gosebrink shows how to put your Angular applications through their paces. We will take a look at the tools and the different possibilities of testing, so that in the end no case remains untested.

Fabian Gosebrink

February 24, 2022
Tweet

More Decks by Fabian Gosebrink

Other Decks in Technology

Transcript

  1. { "projects": { "my-app": { "architect": { "test": { "builder":

    "@angular-devkit/build-angular:jest", "options": { "tsConfig": "tsconfig.spec.json", "polyfills": ["zone.js", "zone.js/testing"] } } } } } } 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
  2. { "projects": { "my-app": { "architect": { "test": { "builder":

    "@angular-devkit/build-angular:jest", "options": { "tsConfig": "tsconfig.spec.json", "polyfills": ["zone.js", "zone.js/testing"] } } } } } } 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 "builder": "@angular-devkit/build-angular:jest", { 1 "projects": { 2 "my-app": { 3 "architect": { 4 "test": { 5 6 "options": { 7 "tsConfig": "tsconfig.spec.json", 8 "polyfills": ["zone.js", "zone.js/testing"] 9 } 10 } 11 } 12 } 13 } 14 } 15