Pragmatic Angular Testing
Fire in the kitchen? Are you tired of bugs or unmaintainable tests slowing you down? Join this course to learn how to adopt a pragmatic testing strategy and cook better apps.
Join the Pioneerย offer for just โฌ80 (instead of โฌ170!) and get exclusive access to bonus modules as they are added.
Are you tired of:
bug whack-a-mole and regressions ruining your plans,
the boredom of manual testing,
scratching your head over enigmatic tests,
getting disappointed by unreliable tests,
being slowed down by tests implementation and maintenance,
Boost Development Speed with tests that streamline coding, not slow you down.
Get things done with a Pragmatic Testing Strategy that scales.
Master Modern Tools like Jest, Vitest, Playwright and Playwright Component Testing.
Unlock Secret Recipes like Gloves, Contract testing, Fakes (over mocks), or Object Mothers.
Get Hands-on with tons of practical tips.
How to write tests that focus on behavior rather than implementation details.
How to structure tests to improve their readability and maintainability.
Testing fundamental concepts like over-specification, direct vs. indirect inputs & outputs.
How to test asynchronous logic while avoiding common pitfalls.
The difference between the different test doubles: mocks, fakes, stubs, spies etc.
When to use a test double< and which one to use.
How to keep test doubles in sync with the real implementation using Contract Testing.
How to handle testing data in a readable and maintainable way with Object Mothers.
How to choose between the different component testing flavors: Isolated, Shallow, and Integration.
How to keep your tests clean from implementation details using Gloves.
This course is thoughtfully structured around the principle of Desirable Difficulty, ensuring that exercises challenge you to think critically and develop a deep understanding, rather than relying on simple, fill-in-the-blank exercises. It also incorporates proven techniques such as Spaced Repetition and Interleaving to maximize learning effectiveness.
This hands-on experience is built on engaging, practical exercises that closely mirror real-world scenarios, emphasizing a pragmatic approach over rigid, one-size-fits-all solutions. Each recommendation is rooted in years of observing diverse teams in action, highlighting practices that reliably deliver results while adapting to varying contexts, rather than adhering to inflexible, dogmatic methods.
This approach ensures that youโre not only learning theory but building a strong foundation of principles and skills that empower you to adapt and apply these techniques to tackle novel problems in your own products with confidence.
What is Automated Software Testing?
FREE PREVIEWWhy Test ?
Testing Costs
Convincing Yourself, your Team, and your Managers
The Different Test Categories
The Testing Tools
Why Jest?
๐ง Set up Jest
The Whiskmate App we will be building
Testing a Service
๐ป Exercise: Testing the MealPlanner Service
๐ป Exercise Solution: Testing the MealPlanner Service
๐ Key Takeways
Testing Asynchronous Logic
๐ป Exercise: Testing Asynchronous MealPlanner
๐ป Exercise Solution: Testing Asynchronous MealPlanner
๐ Key Takeaways
The different types of Test Doubles
๐ป Exercise: Testing Indirect Outputs
๐ป Exercise Solution: Testing Indirect Outputs with Spies
๐ป Exercise Solution: Testing Indirect Outputs with Fakes
๐ป Exercise: Testing Indirect Inputs
๐ป Exercise Solution: Testing Indirect Inputs with Spies
๐ป Exercise Solution: Testing Indirect Inputs with Fakes
๐ Key Takeaways
Component Testing Flavors
๐ป Exercise: Isolated Testing
๐ป Exercise Solution: Isolated Testing
๐ป Exercise: Integration Testing
๐ป Exercise Solution: Integration Testing
๐ป Exercise: Shallow Testing
๐ป Exercise Solution: Shallow Testing
๐ป Exercise: Refactoring with AsyncPipe then Signals
๐ป Exercise Solution: Refactoring with AsyncPipe then Signals
โ๏ธ Trade-offs and Decision Tree
๐ Key Takeaways