lecture 14 of 150 completed

When your tests run without you

What changes on a build server, and why a slow or flaky suite quietly becomes useless.

What you'll learn

  • What changes when tests run without you
  • Why a slow suite stops being run at all
  • Why flaky tests teach a team to ignore red

You write tests on your laptop. But they do their real job on a build server. A machine that runs your whole suite automatically every time someone changes the code. In most teams this is called CI.

Four things are different there, and they surprise almost everyone.

The machine is slower, and there is no screen.

Build servers are usually smaller than your laptop, and they run the browser without showing it. Any test that quietly depended on your fast machine will start failing. That is not bad luck. The server is finding timing assumptions you did not know you had made.

members only

Keep reading with the full course

The Foundations track and the first 5 lectures of each framework are free. This lecture is part of the paid course, which unlocks every lecture, all three frameworks, and downloads.

See the options →