Example test suite
The following code is an example suite named CalendarAdminSuite. It runs all feature files in the
modules/configuration/res/cucumber directory (in other words, all feature files in Behavior Testing Framework)
that have both the @calendar tag and the @admin tag.
package gw.suites
uses cucumber.api.CucumberOptions
uses cucumber.api.SnippetType
uses cucumber.api.junit.Cucumber
uses org.junit.runner.RunWith
@Export
@RunWith(Cucumber)
@CucumberOptions(
:dryRun = false,
:plugin = {"pretty",
"html:build/test-results/PCBehaviorCucumberSuite/CucumberHTMLReport",
"junit:build/test-results/PCBehaviorCucumberSuite/CucumberResults.xml"},
:monochrome = true,
:glue = {"gw.cucumber"},
:snippets = SnippetType.CAMELCASE,
:strict = true,
:features = {"modules/configuration/res/cucumber"},
:tags = {"@calendar","@admin"}
)
class CalendarAdminSuite {}
