Skip to content
Kitbay
Submit
Skill

writing-tests

NOASSERTIONUpdated on Nov 11, 202672,390GitHub stars

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

What the skill teaches

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.

Capabilities

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