1.4 KiB
1.4 KiB
OpenAPI Test Coverage
Reporting coverage of OpenAPI request and response specifications using Tornado OpenAPI 3.
Things that can be covered
- Requests by path and operation
- Responses by code
- Schemas?
Writing a Python coverage plugin
Traced files can be determined dynamically based on execution frames (frame objects are passed to plugin functions). This means I'll be able to create simplified file-like representations of OpenAPI specifications, marking lines of them as executable, and reporting on which ones should be marked as executed based on the how the validator was run.