JSLeague - Testing Angular Apps with Cypress and Jest Workshop

Feb 22, 2020 at 10:00 WildCodeSchool
There are no available tickets


This event is a non-profit workshop done for the community. The fee is to cover location, breakfast, lunch, snacks and coffee for the participants. All remaining profit will be used to sustain future community workshops.

Location: WildCodeSchool Bucharest (Sos Nicolae Titulescu 56, 2nd floor, district 1)

Date: 22nd of February, 10:00am - 5:00pm


1.Angular unit tests

    * Isolated test

        * Testing Pipes and Services

    * Interaction testing

        * Testing Component bindings

        * Testing Component events

        * Integration testing

            * Rendering child components

            * Testing component communication

            * Mocking dependencies

    * Testing asynchronous code

        * The `async` and `fakeAsync` helpers

        * Mocking HTTP calls

        * Testing Observables


2. E2e testing with Cypress.io

    * Set up Cypress for Angular

    * Writing and running basic e2e tests

    * Selector playground

    * Testing HTTP requests

    * Debugging in Cypress


  •  Laptop with one of the following operating systems:

   -macOS 10.9 and above (64-bit only)

   -Linux Ubuntu 12.04 and above, Fedora 21 and Debian 8 (64-bit only)

   -Windows 7 and above.

  • Node.js version 10.9.0 or later installed
  •  Git installed and working
  •  A code editor
  • IMPORTANT!  It is assumed that you know how to write a basic Angular application and that you have a basic understanding of Angular building-blocks (Modules, Components, Services, Observables, HTTP data communication and events etc.) is required since we will write tests for an existing basic Angular application. While we will explain some of the code samples, we won't go in detail about the most basic Angular concepts. Also, you should have a working knowledge of general TypeScript syntax and concepts