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 AnnotatedStepDescription
from(ExecutedStepDescription description)
java.util.List<java.lang.String>
getAnnotatedRequirements()
java.lang.String
getAnnotatedTitle()
java.lang.String
getName()
java.lang.reflect.Method
getTestMethod()
java.lang.reflect.Method
getTestMethodIfPresent()
static boolean
isACompatibleStep(java.lang.annotation.Annotation annotation)
boolean
isAGroup()
boolean
isIgnored()
boolean
isPending()
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()
-