@Qualifier + withTestDataFrom #3039
Unanswered
bartamihai
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
I have a test where I execute a step several times, using a csv file
@test
public void createInvalidSettings() throws IOException {
withTestDataFrom("csvFiles/createInvalidSettings.csv")
.run(masterDataApiSteps).verifyInvalidSettingCreation();
}
The issue is that in the report I see the step Verify invalid setting creation() several times.
Is there a way to add to the method name a column from csv? I am able to do that when I run the entire tests using a CSV file with the help of @qualifier.
Can we somehow do the same when we run only one step using a CSV file ?
I have a workaround but it's not very clean.
Thanks in advance.
BR,
Mihai
Beta Was this translation helpful? Give feedback.
All reactions