Pick a task
Statement, starter code and editor. In some tasks you write tests, in others an implementation, fix a bug or check the interface.
QA Gym is a trainer for QA engineers. Here we check not that “the code works” but that “tests notice when the code breaks”. Tasks, theory, cases and an interview track — all in one place.
Every task has a reference and a set of mutants — plausibly broken versions. A solution counts only if the tests pass on the reference and fail on every mutant. That is how
assert True stops being a solution.
Implementation tasks are checked with hidden tests, UI tasks with broken HTML versions and Playwright. The reference and mutants never reach the HTML or the model.
“A good test fails when the code breaks.
A bad one always passes.” the QA Gym rule
Statement, starter code and editor. In some tasks you write tests, in others an implementation, fix a bug or check the interface.
The grader runs your tests on the reference and the broken versions. If a mutant goes unnoticed, your test does not catch it.
After solving, the debrief opens: where the test was weak, what to check next time and what you will be asked at an interview.
Tests, implementation, bug fixing and Playwright. Broken versions, hidden tests, HTML mutants.
12 questions per level. Instant scoring, explanations and weak topics in your profile.
Real-world situations. AI reviews your answer against a rubric and asks follow-up questions.
Theory → case → task → summary. One session instead of three separate exercises.
pytest basics, boundaries, API and SQL. Learn to explain what you check and why.
Mocks, concurrency, N+1, contracts and flaky tests. Not “I know the tool” but “I see the risk”.
Idempotency, outbox, SLO, RAG and prompt injection. Checking decisions, not terminology.