Day 11 · Auth, scripting and hooks

Setup and teardown with hooks

Logging in inside every request is noise. Today you log in once with a beforeAll hook and tidy up with afterAll, so each request stays about its own job.

Day 11: Setup and teardown with hooks

This challenge unlocks on December 11

Come back then, or start with the challenges that are already open.

See all challenges

Learn more: Testing →