Jbehave - Annotation
来源:互联网 发布:fast迅捷网络登录密码 编辑:程序博客网 时间:2024/06/04 18:11
1. method step annotations:
- @Given
- @When
- @Then
- @Alias
- @Aliases(当一个method可以被多个 step 使用时)
- @Pending( 当当前还不能确定时)
- Each step candidate corresponds to one Java method and to oneStepTyp
Note that each method can supports aliases and a different step candidate is created for each alias.
2. method scenario annotations:
- @BeforeScenarioa
- @AfterScenario
Optionally,theScenarioType can bespecified to execute only upon that type, e.g. for scenariosparametrised by examples. In addition, @AfterScenarioallows the setting of an optionalOutcome value,which specifies whether the method should be executed depending on the outcomeof the scenario:
3. method story annotations:
- @BeforeStory
- @AfterStory
The @BeforeStory and @AfterStory annotations allow the corresponding methods to be executed before and aftereach story, either aGivenStory ornot:
4. Behave supports the following method stories annotations:
- @BeforeStories
- @AfterStories
The @BeforeStories and @AfterStories annotations allow the corresponding methods to be executed before and after acollection of stories: (如何选取story?)
5. parameter annotations:
- @Named ( 如何使用?)
Parameter annotations are used in parameterinjection.
6. configuration annotations:( 如何使用?)
- @AsParameterConverter
- @Configure
- @UsingEmbedder
- @UsingSteps
- @UsingGuice
- @UsingNeedle
- @NeedleInjectionProvider
- @UsingPico
- @UsingSpring
- Jbehave - Annotation
- JBehave in Practice
- Jbehave -- 参数化
- JBehave学习笔记
- Jbehave 学习笔记 (一)
- Jbehave 学习笔记(二)
- Jbehave 中所用技术扫盲
- combination of RobotiumRC and JBehave
- annotation
- Annotation
- Annotation
- Annotation
- Annotation
- Annotation
- Annotation
- Annotation
- annotation
- Annotation
- Eclipse的link方式安装JBPM6插件(JBPM学习之一)
- 经典效果组件篇4:安卓的tab标签控件
- 了解tomcat conf目录下 web.xml,tomcat-user.xml,server.xml以及 context.xml四个文件的作用。
- JSP的内置对象
- dwr3实现消息精准推送详细步骤
- Jbehave - Annotation
- servle
- Maven学习 (三) 使用m2eclipse创建web项目
- “运行”框里的常见命令(一)
- BITMAP CONVERSION FROM ROWIDS
- (二)XMPP 即时通信 openfire安装 IOS
- ios自定义hub指示器
- 生成一个Win32非MFC的DLL
- 如何判断单链表是否有环存在