JUnitPerf
JUnitPerf copied to clipboard
would activeReporters = Collections.singletonList(REPORTER); can reporter be unique to each class rather than one report for all..
public final class JUnitPerfInterceptorSuite extends JUnitPerfInterceptor
{
private static final HtmlReportGenerator REPORTER = newHtmlReporter("suite_reporter.html");
private static final DescriptiveStatisticsCalculator statisticsCalculator = new DescriptiveStatisticsCalculator();
@Override
public void postProcessTestInstance(Object testInstance, ExtensionContext context) throws Exception
{
activeReporters = Collections.singletonList(REPORTER);
activeStatisticsCalculator = statisticsCalculator;
defaultRequirementsAnnotation = new JUnitPerfTestRequireme
Also, as active report is always the same as it is now..
why is it needed to call this once per each test
activeReporters = Collections.singletonList(REPORTER);
Would you also consider not to have separate report that is parallel to unit test report, is it possible to include perf metrics within existing junit report
I definitely like this
would consider not to change existing JUnit report with another file names etc..
can you consider to hook perf info within the existing junit report