How to Execute Cucumber Features in Parallel using TestNG?

Viewed 13

Is there an option to pass the features through dataprovider to execute cucumber features in parallel instead of scenarios?

import org.testng.annotations.DataProvider;
import io.cucumber.testng.AbstractTestNGCucumberTests;

public class RunCucumberTest extends AbstractTestNGCucumberTests{

    @Override
    @DataProvider(parallel = true)
    public Object[][] scenarios() {
        return super.scenarios();
    }
}
0 Answers
Related