Uses CucumberOptions annotation for options.
Uses CucumberOptions annotation for options.

import cucumber.api.CucumberOptions
import cucumber.api.junit.Cucumber
import org.junit.runner.RunWith

@RunWith(Cucumber)
@CucumberOptions(
	format=["pretty", "html:build/reports/cucumber"],
	strict=true,
	features=["features"],
	glue=["src/funtest/steps"],
	tags=["~@manual", "~@review"]
)
class RunCukesTest {}

import cucumber.api.junit.Cucumber
import org.junit.runner.RunWith

@RunWith(Cucumber)
@Cucumber.Options(
	format=["pretty", "html:build/reports/cucumber"],
	strict=true,
	features=["features"],
	glue=["src/funtest/steps"],
	tags=["~@manual", "~@review"]
)
class RunCukesTest {}
