pytest-testinfra
pytest-testinfra copied to clipboard
JSON output format
Similar to the concept of the nagios reporter, I'd like to suggest incorporating JSON as an optional output format (e.g. by passing --json
).
This could be used to feed and process the data to different applications (like Prometheus,...).
Since pytest does the lifting, could you not use this pytest-json module?