I have multiple feature file each containing multiple scenarios, I want to run scenarios in sequential order and features in parallel,
so i tried using
package com.api.automation; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import com.intuit.karate.Results; import com.intuit.karate.Runner.Builder; public class ParallelRunner { @Test public void executeKarateTest() { Builder aRunner = new Builder(); aRunner.path("classpath:Package_A", "classpath:Package_B"); aRunner.parallel(4); }} as this runs both feature files and scenarios in parallel I have used @parallel=false in each feature file to run scenarios in scequential order
but even the feature files also executing in series
|--com.api.automation | |-ParallelRunner.java | |--Package_A | |-A_1.feature | |-A_2.feature | |--Package_B | |-B_1.feature | |-B_2.feature