Class StepCandidate

  • Direct Known Subclasses:

    public class StepCandidate
    extends Object
    A StepCandidate is associated to a Java method annotated with Given, When, Then in a steps instance class. The StepCandidate is responsible for matching the textual step against the pattern contained in the method annotation via the StepMatcher and for the creation of the matched executable step via the StepCreator. The name of a StepCandidate is the combination of its starting word and its pattern.