本文へスキップ
Kitbay
スキル

writing-tests

NOASSERTION2026年11月11日 更新72,390GitHubスター

A contributor skill in the Remotion repository for writing, updating and reviewing tests there, adding new tests only when the user asks for them.

スキルの内容

A contributor skill in the Remotion repository for writing, updating and reviewing tests there, adding new tests only when the user asks for them. It points tests at the widest stable boundary that still gives useful confidence, such as a Studio Playwright workflow, a CLI run or a rendered frame, prefers assertions about outcomes over implementation details and whole workflows over many small pieces, and keeps focused unit tests for complex logic. It warns against mocking internal modules and asks for a fail-then-pass check on bug fixes. It names Remotion's own packages and credits outside essays on testing.

できること

  • Choose the test boundary for a change
  • Write outcome-based assertions
  • Avoid mocking internal modules
  • Check bug fixes with a fail-then-pass run