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
Write tests that increase your confidence in your app
Don't run unnecessary tests
Use Storybook to isolate parts of your application
Use Cypress to test like a user
Use Nx to only run tests affected by a change
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.