Marmicode

Pragmatic Angular Testing Workshop

🍽️ Full Course · 3 Days Workshop · Online

🐣 Early Bird Starts at €970

Three days to turn your testing chaos into a well-seasoned strategy.Learn to build tests that survive refactors, migrations, and deadlines.

πŸ‡«πŸ‡· Formation Γ©galement disponible en FranΓ§ais et Γ©ligible au financement OPCO.

πŸ—“οΈ Upcoming Sessions

🍱 What you'll learn

Test-Driven Development

From specs to refactors, learn the TDD mindset.

Modern Testing Tools

Leverage the best of Vitest and Playwright Component Testing with Testronaut.

Readable and Maintainable Tests

Tests that tell stories, not implementation details.

Future-Proof Your Tests

Craft tests that survive migrations and refactorings with minimal changes.

Mocking Made Easy

Master Fakes and Object Mothers to simplify "mocking" and avoid common pitfalls.

Pragmatic Testing Buffet

Enjoy a buffet of tips and tricks to help you adopt a Pragmatic Testing Strategy.

πŸŽ“ Required Knowledge

  • Angular core concepts (e.g. components, inputs/outputs, services)
  • TypeScript fundamentals (e.g. types, interfaces, basic generics)
  • Git fundamentals (e.g. cloning, resetting local changes, switching branches)

πŸ—“οΈ Agenda

  • Why test.
  • What to expect from a test.
  • The Development Time Perception Bias.
  • The different types of tests: Narrow & Wide vs Unit & Integration.
  • Why Vitest instead of Karma, Jest or Web Test Runner.
  • Pros & cons.
  • Test-Driven Development: origin & benefits.
  • Progressive TDD.
  • All-you-can-eat tips & tricks for precise and maintainable tests.
  • Object Mothers.
  • Testing an Angular service with the Progressive TDD approach.
  • Debugging with Vitest.
  • Refactor vs. Restructure: back to definitions.
  • Timeboxed TDD.
  • Limbo.
  • TCR : Test && Commit || Revert.
  • Async testing.
  • Testing observables.
  • Testing effects.
  • Fake timers.
  • Hands-on async testing practice.
  • Testing a component.
  • The different types of component tests: Isolated vs. Shallow vs. Integration.
  • Interacting with the DOM.
  • Component isolated testing.
  • Component shallow testing.
  • Component integration testing.
  • Mocks vs Dummies vs Spies vs Stubs vs Fakes.
  • Fake it till you Mock it!
  • Type-safe testing.
  • Contract testing fakes.
  • Hands-on test doubles practice.
  • Testing Inputs & Outputs based communication.
  • Interacting with forms.
  • Resilient DOM testing.
  • Hands-on Angular Testing Library practice.
  • Hands-on Vitest Browser Mode practice.
  • Gloves.
  • The story behind Angular CDK Test Harness.
  • When and how to use it.
  • Using a test harness.
  • Implementing a test harness.
  • Beyond the limits of browserless testing.
  • Playwright Component Testing with Testronaut.
  • Debugging with Playwright and Testronaut.
  • Hands-on Playwright Component Testing with Testronaut.
  • Testing the presentation.
  • Visual Regression Testing: Magic, Gotchas, Recommendations, and Strategies.
  • Detecting visual regressions with Playwright and Testronaut.
  • Goals of a testing strategy.
  • Choosing what to test and how.
  • Evaluating a testing strategy.
  • Introducing testing in a legacy codebase.

πŸ‘¨πŸ»β€πŸ« Your Instructor

Photo of Younes Jaaidi

Younes Jaaidi

Younes Jaaidi is a Software Cook who enjoys whipping code until tests pass.

Born in the kitchen of eXtreme Programming over 15 years ago, he now teaches and coaches teams β€” like yours β€” to cook better software using ingredients such as Test-Driven Development, and Collective Ownership.

He's also an Angular Google Developer Expert, an NX Champion, and a mediocre sailor.