This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Call sequence | |
Background: | |
Given first step | |
Scenario Outline: | |
Given second step | |
And third step | |
Examples: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A: 0 | |
<snip> | |
A: 216 | |
A-interrupted | |
A: 217 | |
<snip> | |
A: 264 | |
B: 0 | |
<snip> | |
B: 199 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project name="java-helloworld" basedir="." default="runcukes"> | |
<property name="repo" value="https://oss.sonatype.org/content/repositories/releases"/> | |
<!-- To figure out compatible combinations of versions, you should examine dependencies in the Maven POM files --> | |
<property name="cucumber-jvm.version" value="1.1.5"/> | |
<property name="cucumber-jvm-deps.version" value="1.0.3"/> | |
<property name="gherkin.version" value="2.12.1"/> | |
<property name="cucumber-html.version" value="0.2.3"/> | |
<property name="jchronic.version" value="0.2.6"/> | |
<property name="junit.version" value="4.11"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Runtime implements UnreportedStepExecutor { | |
// the factory method is used by cucumber.api.cli.Main and cucumber.api.junit.Cucumber | |
public static Runtime createRuntime(ResourceLoader resourceLoader, ClassLoader classLoader, RuntimeOptions runtimeOptions) { | |
UndefinedStepsTracker undefinedStepsTracker = new UndefinedStepsTracker(); | |
return new Runtime(resourceLoader, classLoader, loadBackends(resourceLoader, classLoader), runtimeOptions, | |
undefinedStepsTracker, new RuntimeGlue(undefinedStepsTracker, new LocalizedXStreams(classLoader))); | |
} | |
// The constructor is used in tests both in the core and in the java projects, therefore it needs to be public |