How to match a specific java file with specific feature file in cucumber
问题 I've created three java and feature files within cucumber and there's following code part for each java file. @Before public void startbrowser() { System.setProperty("webdriver.gecko.driver","/Users/firatkaymaz/eclipse-workspace/SeleniumTest/drivers/geckodriver/geckodriver"); driver = new FirefoxDriver(); so once i try to run one of my cucumber files (run as ->cucumber feature), three browser is opening because all @Before annotations located in three java file are being executed. how can i