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

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

80 slides
  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

More Decks by Fabian Gosebrink

Other Decks in Technology