pytest-dev / pytest-html

Plugin for generating HTML reports for pytest results
Other
707 stars 236 forks source link

Add expand_logs ini option #812

Open cidlik opened 6 months ago

cidlik commented 6 months ago

Motivation

In #721 expander for logs was added. Is some cases it is more convenient to expand all logs by default, e.g., if you have several tests with long logs and you need to find something.

Solution

I added ini option "expand_logs". If it is set to True, so all logs will be expanded by default.

Changes

cidlik commented 6 months ago

@BeyondEvil hello! Can you review this change, please?