Debugging problems

Repair the test · Level 5

An old search replaces the latest results

Search for Maya and then Jonas. Sometimes Maya comes back after Jonas appears. The test still passes. In this preview, search replies wait until you release them. Use Search to send a request. Use Release next reply to deliver one reply.

What you will practise

A late reply from an earlier request can replace newer information. A test that waits for each reply before sending another request misses that bug.

Done when

  • Send two different searches before releasing either reply.
  • Release both replies. Check that only the last search has results on screen.

Read the brief here. Use a computer with a keyboard to write and run tests.

$19 per month

This problem, 16 more like it, 175 lessons and 10 AI interviews a month.