All practice tasks

Knowledge Check

Fixture evidence

While reviewing Python testing performance, many tests repeat database initialization. Which action fixes it, and which check proves it worked?

Answer options

  • A. Parametrize the input-output cases
  • B. Capture a representative profiler result
  • C. Create a scoped database fixture
  • D. Verify cleanup runs after each scope

What this task practices

Fixture evidence is a knowledge check interview exercise that trains prompt interpretation, explicit assumptions, a concrete response, and a clear explanation of tradeoffs. The catalog marks it as hard difficulty. It focuses on Python Testing Performance, Fixture. The signed-in workspace provides the tools for the round and evaluates the attempt against task-specific criteria. Reference solutions, hidden checks, evaluator instructions, and candidate work remain private.

Sign in to startThe workspace and evaluation open after sign in.