serenity-bdd / serenity-cucumber-starter

A skeleton project for Serenity BDD and Cucumber JVM
Apache License 2.0
180 stars 285 forks source link

Run multiple testdata in a given step #85

Open CuriousQA opened 2 years ago

CuriousQA commented 2 years ago

Then validate the response when user searches with database result.

Here I want to consider the database values as input. The inputs are independent and I have around 5k results from DB. How to run these 5k testcases in parallel and at the same time report the result to this step?

I cannot use Example scenario as the examples are results of the database query. Also, want this particular scenario's test data to run in parallel.

I looked into @TestData/@Test/@RunWith(SerenityParameterizedRunner.class), but these are available in JUnit. How can I integrate this with Cucumber framework?

please comment/share your expertise here.