Skip to content
Kitbay
Submit
Skill

testing-guidelines

FSL-1.1-ALv2Updated on Nov 10, 2026961GitHub stars

A contributor skill in Sentry's toolkit repository setting out how tests should be written there.

What the skill teaches

A contributor skill in Sentry's toolkit repository setting out how tests should be written there. It asks for third-party network services to be mocked with fixtures taken from real responses and scrubbed of personal data, integration-style tests of public interfaces over unit tests of internals, a modest number of edge cases, a regression test for every bug, and at least one test for each user entry point such as a CLI command or API route. It adds rules on test isolation and file placement and ends with a checklist.

Capabilities

  • Mock external services with sanitised real fixtures
  • Favour integration tests of public entry points
  • Add regression tests for bug fixes
  • Check tests before submitting