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

Enabled numeric sorting of the 'duration' column

Open rindPHI opened this issue 3 years ago • 3 comments
trafficstars

This PR makes the "duration" column numerically sortable, such that, e.g., "2.0" appears before "100.0" and not after as in an alphabetic sort. I consider this very important to track down performance regressions as witnessed by test case execution times.

rindPHI avatar Sep 01 '22 07:09 rindPHI

Thank you for the PR and contribution.

We're currently working hard on delivering the "next-gen" version of this plugin.

I think this is already supported by the new version.

As soon as the beta is released, I'll ping here and I would much appreciated it if you could test.

BeyondEvil avatar Sep 03 '22 21:09 BeyondEvil

That sounds great, looking forward to testing the new version!

rindPHI avatar Sep 05 '22 09:09 rindPHI

This is long overdue -- I am SO looking forward to this...

mnaumann-plenty avatar Sep 09 '22 21:09 mnaumann-plenty

@rindPHI @mnaumann-plenty Mind trying out 4.0.0rc1 ?

BeyondEvil avatar Apr 03 '23 20:04 BeyondEvil

This should be supported in v4 now.

BeyondEvil avatar Nov 04 '23 16:11 BeyondEvil