All courses
· intermediate

Testing Web Applications

Tests that catch real breakage and survive a refactor. What to test at which level, querying the way a user would, and why a suite everyone ignores is worse than no suite.

Pathaxis · Original content

Written in house, from the work rather than from a syllabus. Every example is one we would use ourselves, and every quiz question explains why its answer is right.

83 min 6 lessons 15 quiz questionsStart course

What you’ll learn

  • Choose the right level of test for what you are protecting
  • Test observable behaviour rather than internal structure
  • Query elements the way a user finds them
  • Mock at the network boundary instead of stubbing internals
  • Diagnose a flaky test rather than retrying it
  • Decide what is not worth testing

Before you start

  • · JavaScript Fundamentals
  • · Some experience building an interface

Syllabus

01

What to test

Levels, and behaviour over implementation.