Tests against broken code
A solution passes only when your tests pass on the reference and fail on every mutant.
QA Lab is a practice ground for QA engineers. Your tests run against a reference implementation and a set of deliberately broken copies. A solution counts only when it catches every break.
This is an English pilot: the landing and three articles are translated. The full task catalog is in Russian for now.
def test_boundary(): result = search("", max_price=8990) assert any(p["price"] == 8990 for p in result) ✓ test_price_filter passed ✗ test_negative_price failed → killed 3 of 4 mutants
A solution passes only when your tests pass on the reference and fail on every mutant.
A nudge is always available. An approach comes after the first check. Pseudocode after three.
Short articles explain test design, mutation testing and flaky tests without tool worship.
Why coverage is not enough.
Time, order, network and races.
A small set of inputs that still catches bugs.
The mentor sees the statement, your code and the pytest output. It does not know the reference solution, so it cannot hand it to you — only ask the next useful question.
max_price appears in the result.
<
and <=?