Interface Contributor


@API(status=EXPERIMENTAL, since="0.2.0") public interface Contributor
Implementations of this interface can contribute additional sections to the HTML report when registered via the Java service loader mechanism.
Since:
0.2.0
  • Method Details

    • contributeSectionsForExecution

      default List<Section> contributeSectionsForExecution(Contributor.Context context)
      Contribute additional sections for the given execution element.
      Parameters:
      context - the DOM element representing the execution
      Returns:
      additional sections to be rendered
    • contributeSectionsForTestNode

      default List<Section> contributeSectionsForTestNode(Contributor.Context context)
      Contribute additional sections for the given test node element.
      Parameters:
      context - the DOM element representing the test node
      Returns:
      additional sections to be rendered