cucumber-format-slf4j
A Cucumber(-jvm) formatter that logs outcomes etc to your SLF4J setup.
How to use
Note Requires Java7 or above!
In your @CucumberOptions
:
@RunWith(Cucumber.class)
@CucumberOptions(format = {"cucumber.formatter.Slf4jFormatter"})
public class MyRunnerIT {
}
Then it's just a matter of configuring your SLF4J setup, for example with logback-test.xml