Class JUnitMethodFinder

  • All Implemented Interfaces:
    ITestMethodFinder

    @Deprecated
    public class JUnitMethodFinder
    extends java.lang.Object
    implements ITestMethodFinder
    Deprecated.
    - Support for running JUnit tests stands deprecated as of TestNG 7.7.0
    This class locates all test and configuration methods according to JUnit. It is used to change the strategy used by TestRunner to locate its test methods.
    • Constructor Detail

      • JUnitMethodFinder

        public JUnitMethodFinder​(ITestObjectFactory objectFactory,
                                 org.testng.internal.annotations.IAnnotationFinder finder)
        Deprecated.