I want get current feature file name at runtime using Java. I have scenario info in hook but unable to get feature file
@Before
public void before(final Scenario scenario) {
this.scenario = scenario;
}
Do we have any similar thing to get current Feature file name ?? i am using cucumber version 1.2.4
maybe like this, its return only filename: