Cucumber Test Name and Tags on Feature
Hello everybody. I would like to show you a gem today that I found out. Apparently there is no easy way to get to the name of an executing cucumber scenario in cucumber-jvm You can try something like that: @After //this is cucumbers @Afters public static void afterExecution(Scenario scenario) { logger.log("The status of the test is: " + scenario.getStatus()); } But that isn’t giving you too much now is it? And the API of scenario is as small as it can get. It offers you four options: ...