执行顺序
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