jbehave原理

jbehave

Mapping Textual Scenario Steps to Java Methods via annotations

Behave maps textual steps to Java methods via CandidateSteps.
The scenario writer need only provide annotated methods that match, by regex patterns, the textual steps.

clipboard.png

To create instances of CandidateSteps we use an instance of InjectableStepsFactory

clipboard.png

评论

暂无评论