Class TestMethodWorker

java.lang.Object
org.testng.internal.TestMethodWorker
All Implemented Interfaces:
Comparable<IWorker<ITestNGMethod>>, Runnable, IWorker<ITestNGMethod>
Direct Known Subclasses:
SingleTestMethodWorker

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.