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
Post a Comment