cancel
Showing results for 
Search instead for 
Did you mean: 

Externalize the data for Gherkin feature file

jayanth070782
New Contributor

Externalize the data for Gherkin feature file

Can we externalize the data for Gherkin feature file. Currently, option for iteration is Scenario Outline which handles the data iteration within feature file. If we want to avoid users opening feature file to update the data for iteration we could externalize data. Please confirm if externalization of data is supported

1 REPLY 1

Re: Externalize the data for Gherkin feature file

A gherkin feature file is a plain text document. Not piece of code.

 

If you rely a lot on data which changes a lot over time, you could describe that behavior in your features instead of describing the data itself, then implement it as part of your test support code (step definitions, hooks, ...)

New Here?
Join us and watch the welcome video: