You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi,
I want to use different test data for different test methods in serenity. In straight junit, i could find various alternatives. But in serenity, im not able to find a way to do it. My scenario:
TestClass
Test Method 1 with test data 1
Test Method 2 with test data 2
@testdata
public static Collection<Object[]> testData() throws IOException{
}
Tried to use SerenityParameterizedRunner but each test method executes with all test data, which is causing failures during execution.
Please suggest.
The text was updated successfully, but these errors were encountered:
The Serenity parameterised runner extends the normal JUnit one, which doesn't support this feature. It may be possible when we implement JUnit 5 integration (not sure, haven't checked).
hi,
I want to use different test data for different test methods in serenity. In straight junit, i could find various alternatives. But in serenity, im not able to find a way to do it. My scenario:
TestClass
Test Method 1 with test data 1
Test Method 2 with test data 2
Tried to use
SerenityParameterizedRunner
but each test method executes with all test data, which is causing failures during execution.Please suggest.
The text was updated successfully, but these errors were encountered: