JunitCommentFactory

public final class JunitCommentFactory implements CommentFactory<RT>(source)

An implementation of a comment factory for JUnit runs.

Author

Ruben Deisenroth

Constructors

Link copied to clipboard
public void JunitCommentFactory(Environment environment)
Constructs a new comment factory with the given environment.

Functions

Link copied to clipboard
public String comment<TS extends Result<? extends Object, ? extends Object, ? extends Object, ? extends Object>>(TS result, Context context, PreCommentSupplier<? super TS> commentSupplier)
Returns the comment for the given test result, context and pre-comment supplier.