Skip to main content
Module 7 of 8

Building a test framework

Why: A suite of 20 tests can live in one folder. A suite of 500 needs structure: shared setup, readable tests and a clear answer to ‘why did this fail?’.

Lessons

  1. Page objects, kept thin (20 min) - intermediate
  2. Page objects in depth: components and composition (25 min) - intermediate
  3. Fixtures with test.extend (20 min) - intermediate
  4. Test data that does not leak (15 min) - intermediate
  5. Tags, projects and parallelism (15 min) - intermediate
  6. Retries and flakiness (20 min) - intermediate
  7. Quiz: Building a test framework (10 min) - intermediate