Class TestRequest
java.lang.Object
org.apache.maven.surefire.api.testset.TestRequest
Information about the requested test.
- Author:
- Kristian Rosenvold
-
Constructor Summary
ConstructorDescriptionTestRequest
(List suiteXmlFiles, File testSourceDirectory, TestListResolver requestedTests) TestRequest
(List suiteXmlFiles, File testSourceDirectory, TestListResolver requestedTests, int rerunFailingTestsCount) -
Method Summary
Modifier and TypeMethodDescriptionint
How many times to rerun failing tests, issued with -Dsurefire.rerunFailingTestsCount from the command line.Represents suitexmlfiles that define the test-run requestA specific test request issued with -Dtest= from the command line.Test source directory, normally ${project.build.testSourceDirectory}
-
Constructor Details
-
TestRequest
-
TestRequest
public TestRequest(List suiteXmlFiles, File testSourceDirectory, TestListResolver requestedTests, int rerunFailingTestsCount)
-
-
Method Details
-
getSuiteXmlFiles
Represents suitexmlfiles that define the test-run request- Returns:
- A list of java.io.File objects.
-
getTestSourceDirectory
Test source directory, normally ${project.build.testSourceDirectory}- Returns:
- A file pointing to test sources
-
getTestListResolver
A specific test request issued with -Dtest= from the command line.- Returns:
- filter
-
getRerunFailingTestsCount
public int getRerunFailingTestsCount()How many times to rerun failing tests, issued with -Dsurefire.rerunFailingTestsCount from the command line.- Returns:
- The int parameter to indicate how many times to rerun failing tests
-