Tired of blindly debugging raw HTML output? Flaky end-to-end tests and their slow feedback loop? Stitching together five different tools to check if a button is disabled?
You’re not alone.
Everyone loves how smooth Playwright makes end-to-end testing feel — reliable, visual, easy to debug. But relying solely on e2e tests is rarely a sustainable strategy.
What if we could zoom in to test just one component — and still enjoy the same Playwright magic?
In this talk, Younes & Rainer introduce a new approach to Angular component testing: same great DX, smaller scope, faster feedback.
They’ll share why they got there, and how their open-source library brings the full Playwright experience to your components.
What you will learn
• Writing readable and maintainable tests
• Writing tests that focus on behavior rather than implementation details
• Writing future-proof tests that survive migrations and refactorings
• Choosing the right test size
• “Mocking” without suffering using Fakes and Object Mothers
• An all-you-can-eat buffet of tips and tricks to help you adopt a Pragmatic Testing Strategy
Agenda
💻 Hands-on Exercise: First Test
• Let’s write our first test by instinct — then dissect what works and what doesn’t
👨🏻🏫 The Testing Pain
• Developers hate testing: Why, and how do we fix that?
• The Development Time Perception Bias
• What’s wrong with Unit vs. Integration taxonomy?
• Narrow vs. Wide
👨🏻🏫 Vitest
• Why Vitest?
• Pros, cons, and the future
• Migration path from Karma or Jest
👨🏻🏫 Component Testing
• Isolated vs. Shallow vs. Integration
• TestBed vs. Testing Library: What to pick from each?
💻 Hands-on Exercises: TDD & Component Testing
• Progressive Test-Driven Development
• Tips & tricks for precise and maintainable tests
• Future-proof testing with DOM-distancing and Gloves
• Zoneless-ready testing
• Debugging techniques
👨🏻🏫 Test Doubles & “Mocking”
• When, why, how, and where to “mock”
• Fake it till you mock it: picking the right Test Double
• Type-safe and maintainable doubles
• High confidence with contract testing
💻 Hands-on Exercises: Test Doubles & “Mocking”
• Narrowing down tests with Fakes
👨🏻🏫 Playwright Component Testing with Testronaut
• How is Testronaut different from anything else?
• Component Testing with Testronaut
• Using test doubles
• Debugging
• Visual regression testing that scales
👨🏻🏫 Building your Pragmatic Testing Strategy
• What to test?
• Which tool to use?
• What is the right size for a System Under Test?
• Which strategy for legacy code?
🙋 Q&A
🎁 [Bonus] Charted Coding: AI-Assisted TDD
• Leveraging AI from design doc to tidy code with more TDD and less review fatigue
Angular Core Team, Google | USA
Angular Core Team, Google | USA
Angular Core Team, Google | USA
Angular Core Team, Google | Germany
Angular Core Team, Google | France
Software Engineer, Google | Colombia
Senior Software Developer, JetBrains | Poland
Software Engineer, Google | Poland
Angular Core Team, Google | France
GDE for Angular, Lead of Frontend Competence Center, Avenga | Poland
Staff Software Engineer, Google | Poland
Principal Software Engineer, Hyland | Poland
GDE for Angular, softwarearchitekt.at | Austria
Senior Software Engineer, Snowflake | Canada
Tech Lead, Full-stack AI Engineer, GDE, Tikal | Israel
Trainer & Consultant, AngularArchitects.io | Austria
Software Development Cook, Teacher & Coach, GDE | France
CTO, FlowUp | Czech Republic
Passionate Angular Developer, Angular Architects | Austria
Architect, Consultant and Trainer, GDE , AngularExperts.io | Switzerland
Trainer and Consultant, AngularArchitects.io | Austria
Solution Architect, Future Processing | Poland
Independent Consultant, Architect, Developer & Trainer, Poland
Security Expert, Founder, GDE, Pragmatic Web Security | Belgium
Software-Architekt, Thinktecture AG | Germany
Google Developer Expert, Author, Podcaster, NG/JS/AI POLAND | Poland
Sign up to receive updates about NG Poland, including workshops, speaker previews, ticket launches, NG Awards, Behind the Code Magazine, CFP details and other exclusive content. We won’t spam you and will only send you emails we genuinely think you’ll find interesting. You can unsubscribe at any time and you can find more information here.