Test Investigator — Testing Manila folder detective: 20 levels writing Vitest assertions that kill mutants. Scored on mutation kill rate, not coverage, by a mini Vitest runner in a Worker.
Lessons this game drills Matchers & Assertions : A matcher is a method you chain onto expect(...), and it decides how the values are compared. toBe checks for identical values (like ===) for numbers, strings…Unit Testing with Vitest : Vitest is a test runner: a program that runs every test in your .test.js files, then reports which passed and which failed. describe groups tests, it (or…Testing Async Code : A Promise carries a result that arrives later: resolve on success, reject (rejected) on failure. In a test, mark the callback (the function inside it) async…Mocking & Stubbing : A test double is a stand-in for a dependency (another part your code calls) that is slow, costs money or has side effects, such as sending an email. vi.fn()…Mutation Testing : Mutation testing tests your tests. The tool makes small changes to your code on purpose, one at a time (each changed version is called a mutant), then runs…Test Fence : Guard a farm machine rental app with tests: role queries, snapshots, MSW, fake timers, Playwright.Mutant Hunter : Hunt bugs with mutation testing: 12 levels writing tests that catch mutants. A testing game that trains you to think like a tester.Test Picker : Match each test goal to unit, integration, E2E, contract or load tests: 4 levels of testing pyramid practice.Bill Check : Test a village biogas bill calculator with PHPUnit and Pest: test names, TDD, the office's CI.Uji Waras : Test Mbak Arini's pharmacy app Waras: role queries, MSW, snapshots, Playwright, the test pyramid.