public class RunnerSearchConfig extends Object
Constructor and Description |
---|
RunnerSearchConfig() |
Modifier and Type | Method and Description |
---|---|
RunnerSearchConfig |
addClassToRunnerSearchPath(String fullName)
Add class to runner if it has WrapToTest annotation.
|
RunnerSearchConfig |
addPackageToRunnerSearchPath(String fullName)
Add package to search path which is checked for wrapped sample classes.
|
List<String> |
getIgnoredPaths() |
List<String> |
getSearchClasses() |
List<String> |
getSearchPackages() |
RunnerSearchConfig |
ignorePackageOrClass(String name)
Add package or class to ignore list.
|
boolean |
isToMarkTestsWithoutAnnotationAsIgnored() |
RunnerSearchConfig |
markTestsWithoutAnnotationAsIgnored()
If a class was found in search path, and it has DEST field and main method, but it doesn't have WrapToTest annotation, this test will be marked as ignored with corresponding message in case this option is used.
|
public RunnerSearchConfig addPackageToRunnerSearchPath(String fullName)
WrapToTest
annotation.
fullName
- full name of package to be checked.
public RunnerSearchConfig addClassToRunnerSearchPath(String fullName)
WrapToTest
annotation.
fullName
- full name of class to be checked.
public RunnerSearchConfig ignorePackageOrClass(String name)
name
- full or partial name of the package or class to be omitted by this runner. E.g. "highlevel.appendix" or "com.itextpdf.com.itextpdf.highlevel.appendix.TableProperties".
public RunnerSearchConfig markTestsWithoutAnnotationAsIgnored()
public boolean isToMarkTestsWithoutAnnotationAsIgnored()
Copyright © 1998–2018 iText Group NV. All rights reserved.