Forum Discussion

Jalan's avatar
Jalan
Frequent Visitor
2 years ago

Resource file

I have a feature file with the gherkin steps. What if one of the steps exists out of several steps. Without using a lot of ands and and in the feature file. Is it possible to set those sub-steps in a resource file. So in the feature file you have for example 'Given a document is received for completion'. But this Given exists out of 3 more sub-steps like 'document is validated', 'document is stored' and ' received event is send'. Can you put these three sub-steps in a some sort of resource file? 

So you have a .feature file, a resource file and a stepdefs file where all the steps are defined.

No RepliesBe the first to reply