Unit testing

From vspo-lab/vspo-portal · View interactive version

Unit testing is an AI agent skill from the GitHub repository vspo-lab/vspo-portal. Implement unit tests using Vitest table-driven approach, verifying domain/utility behavior with minimal mocks.

How to use this skill

Skill file

Trigger Conditions

Execution Checklist

  1. Review docs/testing/unit-testing.md
  2. Write a failing test (Red) for a single behavior first
  3. Expand cases using it.each / test.each
  4. Re-run all cases after refactoring

Reference Documents

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.