Package com.consol.citrus.testng
Interface TestNGHelper.TestLoaderProvider
-
- Enclosing class:
- TestNGHelper
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface TestNGHelper.TestLoaderProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TestLoadercreateTestLoader(String testName, String packageName, String type)Creates new test loader which has TestNG test annotations set for test execution.
-
-
-
Method Detail
-
createTestLoader
TestLoader createTestLoader(String testName, String packageName, String type)
Creates new test loader which has TestNG test annotations set for test execution. Only suitable for tests that get created at runtime through factory method. Subclasses may overwrite this in order to provide custom test loader with custom test annotations set.- Parameters:
testName-packageName-type-- Returns:
-
-