KRR16
KRR16

Reputation: 187

Using rest data through CSV file in Cucumber

I want to upload test data through a CSV file instead of using a feature file in cucumber. Is there any way to upload CSV in feature file for test data?

Upvotes: 0

Views: 575

Answers (1)

Thomas Sundberg
Thomas Sundberg

Reputation: 4343

There is no way to replace a feature file with a csv file in Cucumber. You need to read the csv file from your steps.

If you are on Java, Apache POI may one option.

Upvotes: 2

Related Questions