@CompileStatic class TestNGBuiltinKeywords extends BuiltinKeywords
Constructor and description |
---|
TestNGBuiltinKeywords
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static JUnitRunnerResult |
runJUnitTestClasses(List testClasses, FailureHandling flowControl) Runs the given list of JUnit test classes by invoking JUnitCore.runClasses. |
|
static JUnitRunnerResult |
runJUnitTestClasses(List testClasses) Runs the given list of JUnit test classes by invoking JUnitCore.runClasses. |
|
static TestNGRunnerResult |
runTestNGTestClasses(List testClasses, FailureHandling flowControl) Runs the given list of TestNG test classes by invoking TestNG#run()#run(). |
|
static void |
runTestNGTestClasses(List testClasses) Runs the given list of TestNG test classes by invoking TestNG#run()#run(). |
|
static TestNGRunnerResult |
runTestNGTestSuites(List testSuites, FailureHandling flowControl) Runs the given list of test suites as TestNG .xml files by invoking TestNG#run()#run(). |
|
static TestNGRunnerResult |
runTestNGTestSuites(List testSuites) Runs the given list of test suites as TestNG .xml files by invoking TestNG#run()#run(). |
Methods inherited from class | Name |
---|---|
class BuiltinKeywords |
callTestCase, callTestCase, comment, concatenate, concatenate, delay, delay, verifyCheckpoint, verifyCheckpoint, verifyEqual, verifyEqual, verifyGreaterThan, verifyGreaterThan, verifyGreaterThanOrEqual, verifyGreaterThanOrEqual, verifyLessThan, verifyLessThan, verifyLessThanOrEqual, verifyLessThanOrEqual, verifyMatch, verifyMatch, verifyNotEqual, verifyNotEqual, verifyNotMatch, verifyNotMatch |
Runs the given list of JUnit test classes by invoking JUnitCore.runClasses.
testClasses
- a list of JUnit test classesflowControl
- an instance FailureHandling that controls the running flowRuns the given list of JUnit test classes by invoking JUnitCore.runClasses.
testClasses
- a list of JUnit test classesRuns the given list of TestNG test classes by invoking TestNG#run()#run().
The generated reports will be extracted in the current report folder with the following path:<report_folder>/testng_report/<current_time_stamp>. - Parameters:
testClasses
- a list of TestNG test classes.flowControl
- an instance FailureHandling that controls the running flow
- Returns:
- an instance of TestNGRunnerResult that includes the TestNG instance, the TestNG result listener and the report folder location.
- Since:
- 7.3.1
Runs the given list of TestNG test classes by invoking TestNG#run()#run().
The generated reports will be extracted in the current report folder with the following path:<report_folder>/testng_report/<current_time_stamp>. - Parameters:
testClasses
- a list of TestNG test classes
- Returns:
- an instance of TestNGRunnerResult that includes the TestNG instance, the TestNG result listener and the report folder location.
- Since:
- 7.3.1
Runs the given list of test suites as TestNG .xml files by invoking TestNG#run()#run().
The generated reports will be extracted in the current report folder with the following path:<report_folder>/testng_report/<current_time_stamp>. - Parameters:
testSuites
- a list of TestNG .xml test suite files.flowControl
- an instance FailureHandling that controls the running flow
- Returns:
- an instance of TestNGRunnerResult that includes the TestNG instance, the TestNG result listener and the report folder location.
- Since:
- 7.3.1
Runs the given list of test suites as TestNG .xml files by invoking TestNG#run()#run().
The generated reports will be extracted in the current report folder with the following path:<report_folder>/testng_report/<current_time_stamp>. - Parameters:
testSuites
- a list of TestNG .xml test suite files.
- Returns:
- an instance of TestNGRunnerResult that includes the TestNG instance, the TestNG result listener and the report folder location.
- Since:
- 7.3.1