Pular para o conteúdo
Kitbay
SkillOficial

hybrid-cloud-test-gen

NOASSERTIONAtualizado em 11 de nov. de 202645.751Estrelas no GitHub

A maintainer skill in Sentry's repository for writing hybrid cloud tests: tests for RPC services, the API gateway, outbox patterns and the silo decorators on endpoints.

O que a skill ensina

A maintainer skill in Sentry's repository for writing hybrid cloud tests: tests for RPC services, the API gateway, outbox patterns and the silo decorators on endpoints. The agent works out which of the four kinds is needed, asking if unclear, reads the source module to find its silo mode, finds the matching test file with its existing tests and base classes, and generates tests from the reference file for that kind. It uses Sentry's silo test decorators and context managers, factory helpers rather than direct model creation, pytest-style assertions and existing test files where they exist. A checklist covers decorators, base class, imports, file path and naming, and the agent ends with the pytest command to run.

O que faz

  • Generate RPC service and outbox tests
  • Write API gateway and endpoint silo tests
  • Pick the right silo test decorator
  • Check tests against a validation list