Class TestRequest
java.lang.Object
org.apache.maven.surefire.api.testset.TestRequest
Information about the requested test.
- Author:
- Kristian Rosenvold
-
Constructor Summary
ConstructorsConstructorDescriptionTestRequest(File testSourceDirectory, TestListResolver requestedTests, int rerunFailingTestsCount) -
Method Summary
Modifier and TypeMethodDescriptionintHow many times to rerun failing tests, issued with -Dsurefire.rerunFailingTestsCount from the command line.A specific test request issued with -Dtest= from the command line.Test source directory, normally ${project.build.testSourceDirectory}
-
Constructor Details
-
TestRequest
public TestRequest(File testSourceDirectory, TestListResolver requestedTests, int rerunFailingTestsCount)
-
-
Method Details
-
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
-