gherkin - Can we bind single cucumber step to two different methods in two different classes -


i have 2 feature files in project 1 step common in these 2 files need call 2 different step definition function depending upon file on steps written.

do have configuration that?

so if understand correctly, have 1 line in cucumber needs execute 2 different methods? far know not possible. cucumber keep on telling there multiple methods same name. - title.

what explanation different. have 2 feature files common step. 1 feature file getting steps classfile , other feature file getting steps classfile b?

in case, can best extend public classes can use code class file in feature file.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -