@Test public void invokeAPI() throws RunnerException { for (int c = 0; c < Fixtures.repetitionCount(); c++) { Options opt = new OptionsBuilder() .include(Fixtures.getTestMask(this.getClass())) .warmupBatchSize(10) .measurementBatchSize(10) .build(); new Runner(opt).run(); } }
@Test public void invokeAPI() throws RunnerException { for (int c = 0; c < Fixtures.repetitionCount(); c++) { Options opt = new OptionsBuilder() .include(Fixtures.getTestMask(this.getClass())) .shouldFailOnError(true) .forks(0) .build(); new Runner(opt).run(); } }