Interface TestReporter

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface TestReporter
    Parameters of type TestReporter can be injected into methods of test classes annotated with @BeforeEach, @AfterEach, and @Test.

    Within such methods this instance of type TestReporter can be used to publish report entries.

    • Method Detail

      • publishEntry

        void publishEntry​(java.util.Map<java.lang.String,java.lang.String> values)
        Publish the supplied values as a report entry.
        values - the map to be published for this entry
      • publishEntry

        default void publishEntry​(java.lang.String key,
                                  java.lang.String value)