AiSkillz

Early "As-Is" Access - free for the first 20 accounts. 18 of 20 places left: complete registration to claim one. No credit card needed.

← Back to skills
TestingVia MCPAny / model-agnosticLicense: My own work (all rights reserved)

Unit Testing Foundations

Created by CodeCraft LLC

Write effective unit tests in any language

Product and technology names are trademarks of their respective owners, used only to identify what this skill covers. CodeCraft LLC is not affiliated with or endorsed by them.

by Jace (@jamick)v1.3.2 · updated 2026-12-01Report copyright infringement

Description

Write effective unit tests in any language - testing behaviours rather than functions, Arrange-Act-Assert, the four test doubles (dummy, stub, mock, fake) and when each fits, the testing pyramid, FIRST principles, test names as documentation, error paths and systematic edge cases (zero, one, many, boundaries, invalid), common test smells, and using coverage to find blind spots rather than as a target. Use whenever the user writes their first tests, asks how or what to test, asks mock vs stub vs fake, has flaky, slow or brittle tests, wonders whether a test is any good, or is chasing a coverage number.

#testing#foundations

Free for everyone with an account

Official and free skills are included with the all-access subscription

Changelog

Subscribers also see which files changed in each version.

v1.3.2Dec 1, 2026Latest

Added

  • README: a **Sources** line listing the official pages the skill is written from, each link checked, so the source-overlap check can run against them.
v1.3.1Nov 30, 2026

Changed

  • Deep-dive section made on-demand (standard statement, open/skip triggers, checklist last); contents lines added to test-design.md.
v1.3.0Nov 20, 2026

Added

  • Review method: every code review starts by mapping the code flows in scope and gives each flow its own sub-agent at high effort, which reviews that flow end to end against this checklist; the main agent merges, re-checks Blockers and de-duplicates. Covers single-flow reviews, nested sub-agents, failed sub-agents and environments without sub-agents.
v1.2.0Nov 6, 2026

Changed

  • Review report rule: reviews that cover changes (a diff, PR or uncommitted work) open with a short "What the changes do" section - factual bullets grouped by purpose, inferred intent marked, deploy or migration impact stated.
v1.1.0Nov 4, 2026

Changed

  • Review report rule at the top of the skill, loaded before any review: one entry per finding as Level · type · file:line · finding · proposed fix, outside facts sourced or marked unverified, and no narrative.
v1.0.0Oct 16, 2026

Added

  • First release.