Class TestShuffler

  • All Implemented Interfaces:
    org.testng.IMethodInterceptor, org.testng.ITestNGListener

    public class TestShuffler
    extends Object
    implements org.testng.IMethodInterceptor
    Randomizes the order of tests.
    • Constructor Detail

      • TestShuffler

        public TestShuffler()
    • Method Detail

      • intercept

        public List<org.testng.IMethodInstance> intercept​(List<org.testng.IMethodInstance> methods,
                                                          org.testng.ITestContext context)
        Specified by:
        intercept in interface org.testng.IMethodInterceptor