Class TestRequest
java.lang.Object
org.apache.maven.surefire.api.testset.TestRequest
Information about the requested test.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TestListResolver
private final int
private final File
-
Constructor Summary
ConstructorsConstructorDescriptionTestRequest
(List suiteXmlFiles, File testSourceDirectory, TestListResolver requestedTests) TestRequest
(List suiteXmlFiles, File testSourceDirectory, TestListResolver requestedTests, int rerunFailingTestsCount) -
Method Summary
Modifier and TypeMethodDescriptioncreateFiles
(List suiteXmlFiles) int
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}
-
Field Details
-
suiteXmlFiles
-
testSourceDirectory
-
requestedTests
-
rerunFailingTestsCount
private final int rerunFailingTestsCount
-
-
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
-
createFiles
-