Sorting

The sort order of the UUT report elements can be controlled by the unitTestDocComparator property. The value is expected to be an implementation of the Comparator interface accepting two instances of UnitTestDoc. The following implementations are provided:

Default Sort Order

The default sort order:

Default Sort Order

Fully qualified Sort Order

To change the default ordering, use the following:

<plugin>
  <groupId>de.smartics.testdoc</groupId>
  <artifactId>testdoc-maven-report-plugin</artifactId>
  <version>${project.version}</version>
  <configuration>
    <unitTestDocComparator>de.smartics.testdoc.report.doc.UnitTestDocNaturalComparator</unitTestDocComparator>
  </configuration>
  <reportSets>
    ...
  </reportSets>
</plugin>
Natural Sort Order