Test Automation / Quiz

Test Data Isolation

Shared-data collisions, unique per-test fixtures, order independence, and cleanup that keeps parallel runs honest.

Difficulty
Medium
Format
Quiz
Points
150
Estimate
9 min

// MISSION BRIEF

Your Mission

Two tests that share the same data will eventually collide, especially in parallel. This quiz covers the discipline that keeps tests independent: unique data per test, self-contained setup, order independence, and cleanup that stops one run from poisoning the next.

// FIRST CONTACT

Battle teaser

Two tests both create a user "test@example.com" and fail intermittently in parallel. Root cause:

  1. AShared test-data collision; each test should use unique data (e.g. a per-test email) so they do not interfere
  2. BThe CI runner's CPU
  3. CA slow network
  4. DThe browser version
Answers, scoring, hints, and the full battle stay sealed.

// SKILL TAGS

test-automationtest-dataisolationparallelism