java.lang.Object
net.serenitybdd.annotations.TestAnnotations
Utility class used to help process annotations on tests and test steps.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidstatic voidaddTagValues(List<TestTag> tags, WithTagValuesOf tagSet) static TestTagconvertToTestTag(WithTag withTag) static TestAnnotationsgetAnnotatedIssueForMethod(String methodName) Return a list of the issues mentioned in the Issue annotation of this method.getAnnotatedIssueForTestCase(Class<?> testCase) String[]getAnnotatedIssuesForMethod(String methodName) getAnnotatedIssuesForMethodTitle(String methodName) Return a list of the issues mentioned in the title annotation of this method.String[]getAnnotatedIssuesForTestCase(Class<?> testCase) getAnnotatedTitleForMethod(String methodName) getAnnotatedVersionForMethod(String methodName) getAnnotatedVersionForTestCase(Class<?> testCase) getIssuesForMethod(String methodName) getTagsForMethod(Method method) getTagsForMethod(String methodName) static booleanisAnExampleStep(Method method) static booleanbooleanstatic booleanbooleanstatic booleanshouldSkipNested(Method method)
-
Method Details
-
forClass
-
getAnnotatedTitleForMethod
-
isPending
-
isPending
-
isIgnored
-
shouldSkipNested
-
isAnExampleStep
-
isIgnored
-
getAnnotatedIssuesForMethodTitle
Return a list of the issues mentioned in the title annotation of this method. -
getAnnotatedIssueForMethod
Return a list of the issues mentioned in the Issue annotation of this method.- Parameters:
methodName- the name of the test method in the Java test class, if applicable. returns
-
getAnnotatedVersionForMethod
-
getAnnotatedIssuesForMethod
-
getAnnotatedIssueForTestCase
-
getAnnotatedVersionForTestCase
-
getAnnotatedIssuesForTestCase
-
getIssuesForMethod
-
getTagsForMethod
-
getTagsForMethod
-
getClassTags
-
getAllTags
-
addTag
-
addTags
-
addTagValues
-
convertToTestTag
-
getTestMethodNames
-