Module D16: Integration Testing, Debugging and Documentation
Track: D6 · Platform, AI & quality · Effort: 1.5 h · Prowler: 5.48
Scenario
The EventBridge Scheduler service you scaffolded in Module D07 is close to a pull request, and the Cloudsmiths checks wheel is about to get its second release on the Registry. A reviewer asks for four things before either ships: proof that the packaged artifact works end to end outside your checkout, an explanation of the false FAIL a teammate saw on a schedule that clearly uses a customer managed key, a documentation page for the new coverage, and written conventions so the next contributor (human or coding agent) does not repeat the same mistakes. This module covers the tooling for each one.
Learning objectives
- Place SDK unit, service, schema, catalog and plug-in contract tests on Prowler's testing map, and state what the Developer Guide says about integration tests today.
- Write integration tests for an artifact: discovery in a clean environment, a real scan against a sandbox account, and OCSF output validation.
- Debug a check and its service with log levels, pytest tools and the documented VS Code
launch.json. - Document a check, provider or compliance framework in Mintlify following
docs/AGENTS.md, and document a plug-in artifact in its README. - Write an AI skill that encodes your artifact conventions, with a trigger, scope and auto-invoke entry, and sync it.
Regístrate para leer el módulo completo
El temario y el resumen de cada módulo son públicos. Crea una cuenta gratuita para desbloquear las lecciones completas, los laboratorios, las comprobaciones de conocimientos y el examen final, y para seguir tu progreso.