Marmicode

Pragmatic Angular Testing Workshop

3 Days ยท 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.

๐Ÿ—“๏ธ Upcoming sessions

๐Ÿฑ What you will 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.

End-to-End Testing

Write reliable e2e tests with Playwright and know when they're the right tool for the job.

Pragmatic Testing Buffet

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

๐Ÿ’ฌ What they say

As someone beginning to write 'useful' tests, I liked how simple Younes made everything seem. Not a lot of terminology, just a lot of very practical tips. His approach to test doubles provided very practical tips that I will definitely be implementing.

Wiemar A. W.4PS

The overview about all the options was awesome. It's great to see how Younes masters all these tools.

Dr Guschtel

Younes is a nice host, very easy going and well explained, well prepared examples and exercises!

Janik S.Software Developer at Serviceware

Very great presentation about testing. I loved the super fast feedback loop.

Tomas L.Software Engineer at Rosa

Great explanation of differences between mocks, stubs and fakes and how to develop a good testing strategy. The repository with useful examples of different use cases was also great.

Filip S.Senior Angular Developer at Motorola Solutions

I loved developing my own test strategy and seeing a contract test in a real example. Most importantly, I learned about alternatives to the standard TestBed.

Kilian WeberSoftware Developer at Proses

๐Ÿ—“๏ธ Program

  • 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.
  • When to use e2e tests vs. component tests.
  • Writing fast, reliable end-to-end tests with Playwright.
  • Hands-on end-to-end testing with Playwright.
  • 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.

๐ŸŽ“ Required knowledge

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

๐Ÿ‘จ๐Ÿปโ€๐Ÿซ Your instructor

Younes Jaaidi wearing a red apron and holding wooden cooking spoons, standing in a kitchen-themed setup with jars of fairy lights and programming stickers (JavaScript, TypeScript, Angular, Nx, RxJS) on a shelf behind him.
Google Developer Expert badge

Younes Jaaidi

I am a Software Cook who enjoys whipping code until tests pass.

With nearly 20 years of experience in eXtreme Programming, I've coached dozens of teams and trained thousands of developers to cook robust and maintainable software โ€” using Test-Driven Development, pragmatic testing strategies, and a healthy dose of Collective Ownership.

I'm also an Angular Google Developer Expert, an NX Champion, and a mediocre sailor.

๐Ÿ™‹ Frequently Asked Questions

Angular developers who write tests โ€” or want to start โ€” and want to improve their testing practices. Whether you're dealing with flaky tests, untestable code, or no testing strategy at all โ€” this workshop is for you.

You should be comfortable with Angular fundamentals (components, services, inputs/outputs), TypeScript basics, and Git. No prior testing experience is required โ€” we start from the ground up.

A laptop with Node.js, Git, and your favorite IDE. Detailed setup instructions are sent a few days before the workshop.

Very. You'll alternate between short theory sessions and practical exercises throughout the three days. Small groups ensure direct coaching and feedback.

The principles and strategies you'll learn apply regardless of your test runner. That said, we use Vitest in the exercises โ€” and you might not want to go back.

Yes. Contact me for a quote and administrative details.

"Book a Session" lets you join a scheduled cohort. "Custom Session" is for companies who want a private, in-house workshop โ€” with optional adjustments to content, duration, or focus areas.

If the workshop doesn't meet your expectations, reach out within 7 days and we'll work it out.