import org.junit.Test; import org.junit.runner.RunWith; import com.carrotsearch.randomizedtesting.RandomizedRunner; import com.carrotsearch.randomizedtesting.annotations.*; @RunWith(RandomizedRunner.class) public class MyTestClass { @RunWith(RandomizedRunner.class) public class MyTestClass { @Test @ThreadLeakScope(ThreadLeakScope.Scope.NONE) @Seed("12345") public void testRandomExecution() { // ... } } }


上一篇:
下一篇:
切换中文