Skip to content
Store

writing-unit-tests

by riekelt

Use when writing or refactoring unit tests - a new test file, added cases, a flaky test, an unreadable one. Encodes behavior-first testing: one behavior per test, names that state the claim, deterministic setup, mocks only at boundaries you do not own. Use whenever a test is being written, even a quick one, and whenever a test needs a sleep, a mock of your own code, or a copy of the implementation's math.

Overview

Its SKILL.md stays on GitHub

This repository has no license that lets Deska show its files here. Read the SKILL.md on GitHub before you install it.

Files 1 file

Install it by hand

Deska runs this for you, for every agent you pick. To run it yourself in a terminal:

npx skills add riekelt/principal-engineer --skill writing-unit-tests

More from riekelt

All skills by riekelt