Skip to content

← All questions

Scenario Outline with 20 Examples rows, or a CSV dataset? What do reviewers expect here

Asked 11,260 views3 answers

We have a shipping tax table: twenty countries, each with a rate and an expected label on the confirmation page. I wrote it as a Scenario Outline and the feature file is now a wall of pipes — the twenty rows are longer than the rest of the file put together, and two of the rates are different on staging than they are on production.

I could move it into a CSV. But then the feature file no longer says what the expected behaviour is, and the whole point of Gherkin was that a person can read it.

Where do people draw the line? Is there a row count where an Outline stops being the right thing?

asked by Jide Okonkwo11,745 ·

3 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related