extentreports-csharp icon indicating copy to clipboard operation
extentreports-csharp copied to clipboard

Categories are not sorted in any way

Open mhgames opened this issue 7 years ago • 3 comments

Tests are sorted in a way they are created, which is good, they can be even sorted in reversed order in professional version. But test categories are sorted in some weird way, probably according to tests order, I was unable to find out how exactly.

It would be great if there was some way how to sort categories, either to put some parameters for ExtentHtmlReporter.Configuration (sort by name / sort by number of items in a category, sort by the time they are assigned to tests / ... ) or at least to sort them in a way they are assigned to tests.

I've found this in version 2.40.1 for Java: new (#189) Categories will be sorted alphabetically

It has either disappeared or is not present in C# version.

mhgames avatar Jul 13 '17 14:07 mhgames

Are you using the community or the pro version?

anshooarora avatar Jul 17 '17 17:07 anshooarora

I'm using the community version, if you say that this feature is in pro version (I didn't find it in the comparison), I'll buy it right away.

mhgames avatar Jul 18 '17 07:07 mhgames

C# and Java versions are not identical.

Marking this as an enhancement.

anshooarora avatar Aug 08 '17 11:08 anshooarora