Zum Inhalt springen
Kitbay
Einreichen
Skill

testing-guidelines

FSL-1.1-ALv2Aktualisiert am 10. Nov. 2026961GitHub-Sterne

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

Was der Skill vermittelt

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.

Funktionen

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