Skip to content

How to include additional information in OTR report and include it in HTML report using open-test-reporting-cli #4175

Answered by marcphilipp
tiefenauer asked this question in Q&A
Discussion options

You must be logged in to vote

It ain't pretty but it works:

import static org.junit.jupiter.api.DynamicTest.dynamicTest;
import static org.junit.jupiter.api.extension.ExtensionContext.Namespace.GLOBAL;

import java.util.Map;
import java.util.stream.Stream;

import org.junit.jupiter.api.DynamicTest;
import org.junit.jupiter.api.TestFactory;
import org.junit.jupiter.api.TestReporter;
import org.junit.jupiter.api.extension.DynamicTestInvocationContext;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.api.extension.ExtensionContext;
import org.junit.jupiter.api.extension.InvocationInterceptor;
import org.junit.jupiter.api.extension.ParameterContext;
import org.junit.jupiter.api.extension.Paramet…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@tiefenauer
Comment options

@marcphilipp
Comment options

Answer selected by tiefenauer
@tiefenauer
Comment options

@marcphilipp
Comment options

@tiefenauer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants