Interface ExtendedResultFixture


  • public interface ExtendedResultFixture
    Fixtures can implement this optional interface to provide additional result information after the main fixture method call(s) have been performed. The method #provideExtendedResults() is called once on each single fixture instance, right after the fixture main method was invoked - even in case an exception was thrown in that method. For tabletests, the method is invoked only once per tabletest statement, and NOT once per tabletest fixture method invocation (which is invoked once per line).

    The method may return null or an empty list if no extended results shall be returned. Otherwise, an arbitrary number of extended result instances - either ExtendedResultFixture.ExtendedResultText for textual data or ExtendedResultFixture.ExtendedResultImage for images - may be returned, which will be integrated into the test results.
    Author:
    Rene Schneider - initial API and implementation