Class TestNGLongTestsHook

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

    public class TestNGLongTestsHook
    extends Object
    implements org.testng.IHookable
    TestNG hook to interrupt tests that take too long (usually because of a deadlock).
    Since:
    9.2
    Author:
    Dan Berindei
    • Constructor Detail

      • TestNGLongTestsHook

        public TestNGLongTestsHook()
    • Method Detail

      • run

        public void run​(org.testng.IHookCallBack hookCallBack,
                        org.testng.ITestResult testResult)
        Specified by:
        run in interface org.testng.IHookable