Class TestMethodWorker

  • All Implemented Interfaces:
    Comparable<IWorker<ITestNGMethod>>, Runnable, IWorker<ITestNGMethod>

    public class TestMethodWorker
    extends Object
    implements IWorker<ITestNGMethod>
    FIXME: reduce contention when this class is used through parallel invocation due to invocationCount and threadPoolSize by not invoking the @BeforeClass and @AfterClass which are already invoked on the original method. This class implements Runnable and will invoke the ITestMethod passed in its constructor on its run() method.