package com.example;

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

@CucumberOptions(
        plugin = {"pretty",
                "html:target/cucumber-reports/cucumber.html",
                "json:target/cucumber-reports/cucumber.json",
                "rerun:target/failed_scenario.txt"
        },
        features = {"src/test/java/features/pakistan/HomePage.feature"},
        glue = {"com.example.stepdefinations.pakistan"},
        monochrome = true,
        tags = "@web"
)

public class TestRunnerPk extends AbstractTestNGCucumberTests {

        // For parallel execution of test cases

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