How do I upload terminal logs with pytest on LambdaTest?

How do I upload terminal logs with pytest on LambdaTest?

Hey Tim!

You can upload any test/terminal report generated with pytest framework in JSON, XML, TXT, or other common format.

The uploaded file can then be viewed in the LOGS section of the LambdaTest Automation dashboard. But the file should not be larger than 2MB.

You can use LambdaTest API to upload terminal logs.

Please check our guide on API Automation.