pytest-html icon indicating copy to clipboard operation
pytest-html copied to clipboard

Group report by module/class/function levels

Open aleksmt opened this issue 9 years ago • 8 comments

Report is now plain, which means that you cannot "overview" whole list of checks and assume which one is whole failed, and which one contains errors in steps.

Its very important for step-dependent runtime, where stepA is the function which performs authorization, purpose of stepB is to click several times in order to go to the subservice on the website, stepC contains steps for sanity checks, etc.

My tests contains around 20-30 steps, so the report looks unreadable. Is it possible to shorten levels by package/module/class/function and then collapse by click the button like "+"?

aleksmt avatar Feb 10 '16 16:02 aleksmt

I think this is a good idea. We should ensure that it degrades gracefully when JavaScript is not available.

davehunt avatar Feb 10 '16 17:02 davehunt

To me, it looks this and #39 are asking for the same thing in different ways.

davidedelvento avatar Jun 02 '16 20:06 davidedelvento

Any updates on this? I think this would be pretty useful for long tests with multiple steps as @alexandermomot says

giordan12 avatar Jul 25 '16 16:07 giordan12

As far as I know, nobody is working on this. It's possible that @RibeiroAna will look into it during her participation, but I'd say it's also available if anyone else wants to work on it.

davehunt avatar Jul 27 '16 13:07 davehunt

It's implemented?

rafaelcs avatar Oct 15 '19 20:10 rafaelcs

It's implemented?

Not as far as I know.

BeyondEvil avatar Oct 16 '19 10:10 BeyondEvil

There is an open PR (#177) that could help to achieve that goal. Unfortunately, I don't have much time on my hand right now to finalize it (missing some tests and a sample), but would welcome any help on that!

audricschiltknecht avatar Oct 16 '19 12:10 audricschiltknecht

Hello Team Is there any progress on this This would be of great help

vikshaw-Nokia avatar Aug 21 '24 14:08 vikshaw-Nokia