Angular testing doesn’t need to suck.
Learn the best ways to do Angular testing from my experience doing Angular testing for the biggest Angular projects.
Highlights
✅ Jest, Cypress, and Storybook
✅ Unit testing, integration testing, and end-to-end testing
✅ Async and reactive/RxJS testing
✅ Testing with NgRx
✅ Snapshot testing
✅ Spectator
✅ CI integration
How the workshop works
- Fully remote – No travel required
- Three half-day sessions – Get back to your daily work and apply what you learned
- See and do – See the different topics be explained using slides, live code and try it yourself with provided exercises
- Interactive classroom – We will be working in a collaborative code editor, that allow us to see the whole solution as well as pair-programming
- Materials, recording, examples and access to a Slack community – Will help you even after the workshop has ended
Brief course outline
Module 1
Testing fundamentals
- Why testing?
- What to test
- Testing strategies
- The testing trophy
- Testable architecture
Module 1
Unit and integration testing with Jest
- Jest vs. Karma
- Testing Situations
- Testing With Spectator
- Mocking
- Testing routed components
- Testing state management
- Testing Asynchronicity
- Testing Reactive Code
- Snapshot testing
- Testing harnesses
Cypress testing
- Cypress Basics
- Page Objects
- Mocking backend
- Common Struggles With E2E Testing
- CI integration
Cypress and Storybook
- Storybook Basics
- Using Cypress with Storybook
- Visual regression testing