Package net.thucydides.core.steps
Class AnnotatedStepDescription
java.lang.Object
net.thucydides.core.steps.AnnotatedStepDescription
public final class AnnotatedStepDescription
extends java.lang.Object
Test steps and step groups can be described by various annotations.
-
Method Summary
Modifier and Type Method Description static AnnotatedStepDescriptionfrom(ExecutedStepDescription description)java.util.List<java.lang.String>getAnnotatedRequirements()java.lang.StringgetAnnotatedTitle()java.lang.StringgetName()java.lang.reflect.MethodgetTestMethod()java.lang.reflect.MethodgetTestMethodIfPresent()static booleanisACompatibleStep(java.lang.annotation.Annotation annotation)booleanisAGroup()booleanisIgnored()booleanisPending()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
from
-
getAnnotatedRequirements
public java.util.List<java.lang.String> getAnnotatedRequirements() -
getTestMethod
public java.lang.reflect.Method getTestMethod() -
getTestMethodIfPresent
public java.lang.reflect.Method getTestMethodIfPresent() -
getAnnotatedTitle
public java.lang.String getAnnotatedTitle() -
isACompatibleStep
public static boolean isACompatibleStep(java.lang.annotation.Annotation annotation) -
getName
public java.lang.String getName() -
isAGroup
public boolean isAGroup() -
isPending
public boolean isPending() -
isIgnored
public boolean isIgnored()
-