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

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

sql server - SQL Query returns one result, does not return 0 or NULL result -