码迷,mamicode.com
首页 > 其他好文 > 详细

cucumber+testng

时间:2019-12-02 11:50:35      阅读:103      评论:0      收藏:0      [点我收藏+]

标签:ring   int   step   inpu   testng   ODB   result   oda   Suite   

执行顺序

beforeSuite in RunnerForInt
beforeSuite in RunnerForString
beforeTest in RunnerForInt
beforeTest in RunnerForString
//1------------
beforeClass in RunnerForInt
beforeMethod in RunnerForInt

Cucumber: methodBeforeScenario
Cucumber: methodBeforeScenario1IntAtStep1

Cucumber: method before step
first number input
Cucumber: method after step
Cucumber: method before step
second number input
Cucumber: method after step
Cucumber: method before step
result int
Cucumber: method after step

Cucumber: methodAfterScenario
Cucumber: methodAfterScenario1IntAtStep1

afterMethod in RunnerForInt
afterClass in RunnerForInt
//2------------
beforeClass in RunnerForString
beforeMethod in RunnerForString

Cucumber: methodBeforeScenario

Cucumber: method before step
first string input
Cucumber: method after step
Cucumber: method before step
second string input
Cucumber: method after step
Cucumber: method before step
result string
Cucumber: method after step

Cucumber: methodAfterScenario

afterMethod in RunnerForString
afterClass in RunnerForString

afterTest in RunnerForInt
afterTest in RunnerForString
afterSuite in RunnerForInt
afterSuite in RunnerForString

cucumber+testng

标签:ring   int   step   inpu   testng   ODB   result   oda   Suite   

原文地址:https://www.cnblogs.com/liehen2046/p/11969527.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!