Create your app with Nx and test it with Jest and Cypress
We will demonstrate how easy is to create a new app from scratch using Nx. We will also show how to use two of the most modern testing tools: add unit and snapshot tests with Jest and E2E coverage with Cypress.
Miguel Angel Muñoz
Miguel works as a Front End Developer in The Workshop (Málaga). Interested in making developers life easier trying new approaches. Fanatic of clean code. Currently focused in developing maintainable and reliable applications using Angular, Jest and Cypress.
Sometimes it's difficult to find a great combination of packages to start a new app. Initialization and configuration can be a pain if we don't know a set of tools that makes our life easier. In this talk we will show you how to initialize an app with Nx and we will test a small app with Jest and Cypress, to set a good point of start for your future applications.
Objectives of this talk:
Nx:
- Easy initialization of a workspace with NX
Unit testing with Jest:
- Unit testing components & services
- Mocking services
- Snapshot Testing
E2E with Cypress:
- Creation of E2E and integration tests for the app
- Mocking HTTP requests in Cypress
This talk has a tutorial in case that the attendants want to do the example app at home:
https://github.com/malaga-front-end/nrwl-angular-jest-cypress-quickstart
Language: Spanish (we can also do it in English if you prefer).
This talk will be done by 2 speakers: Miguel Angel Muñoz and Diego Romero.
- Date:
- 2020 April 24 - 11:00
- Duration:
- 45 min
- Room:
- Sala 3
- Conference:
- Opensouthcode 2020
- Language:
- Track:
- Web
- Difficulty:
- Easy
- React vs Angular
- Start Time:
- 2020 April 24 10:00
- Room:
- Aula 1
- Golang Workshop
- Start Time:
- 2020 April 24 10:00
- Room:
- Aula 2
- Flutter, historia del desarrollo de una app real
- Start Time:
- 2020 April 24 11:00
- Room:
- Sala 2
- Machine Learning – Desde mi local hasta el cliente
- Start Time:
- 2020 April 24 11:00
- Room:
- Sala 1