Yaml Format

Output test cases and test results in an yaml format.

Enable output

To enable this output, set --output-yaml=$path command line option.

Example usage
pytest --output-yaml=./output.yaml

Options

  • --output-yaml=$path: Path to the output yaml file