Back to All Events

Isaac Mann

  • Holiday Inn Gent Expo 3 Maaltekouter Saint Denijs-westrem, Vlaanderen, 9051 Belgium (map)

Talk title

E2E Testing at Half the Cost

Talk description

E2E tests give you confidence, but are too slow. Unit tests are fast, but don't give you confidence. Either you test things that don't matter or your tests are too slow to be helpful. Or you give up on testing completely.

What if you could get the confidence of e2e tests at the speed of unit tests? Well, almost.

Learn how to use Nx, Storybook and Cypress to write UI tests that give you a confidence level close to that of an e2e test while leveraging Nx's affected command to only run the UI tests that are affected by a particular PR.

Key takeaways

  1. Write tests that increase your confidence in your app

  2. Don't run unnecessary tests

  3. Use Storybook to isolate parts of your application

  4. Use Cypress to test like a user

  5. Use Nx to only run tests affected by a change

isaac.jpg

About Isacc

Isaac Mann enjoys splitting complex UIs into reusable components. As a Senior Angular Engineer at Nrwl, he helps teams adopt modern tools and frameworks. He's the author of a couple UI libraries (ngx-tour and ngx-contextmenu) and is an instructor for Egghead.io.

Screenshot 2019-11-01 12.46.42.png
Earlier Event: December 6
Max Koretskyi
Later Event: December 6
Dominic Elm