Python Testing with pytest, Second Edition: machine readable output

Title: Name of book: Python Testing with pytest, Second Edition

I wonder if it would be possible to provide a practical approach to generating machine-readable pytest output in the context of testing automation.

Thanks,

Alex