All Downloads are FREE. Search and download functionalities are using the official Maven repository.

examples.junit.RepeatingTest Maven / Gradle / Ivy

There is a newer version: 5.0.0.CR3
Show newest version
package examples.junit;

import io.vertx.ext.unit.TestContext;
import io.vertx.ext.unit.junit.Repeat;
import io.vertx.ext.unit.junit.RepeatRule;
import io.vertx.ext.unit.junit.VertxUnitRunner;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;

@RunWith(VertxUnitRunner.class)
public class RepeatingTest {

  @Rule
  public RepeatRule rule = new RepeatRule();

  @Repeat(1000)
  @Test
  public void testSomething(TestContext context) {
    // This will be executed 1000 times
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy