![JAR search and dependency download from the Maven repository](/logo.png)
com.github.timm.cucumber.generate.ScenarioAndLocation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cucumber-jvm-parallel-plugin Show documentation
Show all versions of cucumber-jvm-parallel-plugin Show documentation
Plugin for assisting with running Cucumber-JVM features in parallel
package com.github.timm.cucumber.generate;
import gherkin.ast.Location;
import gherkin.ast.ScenarioDefinition;
/**
* A single test to create within a test run.
*/
public class ScenarioAndLocation {
/**
* The scenario this test case belongs to.
*/
private final ScenarioDefinition scenarioDefinition;
/**
* Where this test case came from - Either the scenario, or the table
* row in a scenario outline's examples block.
*/
private final Location location;
public ScenarioAndLocation(ScenarioDefinition scenarioDefinition, Location location) {
this.scenarioDefinition = scenarioDefinition;
this.location = location;
}
public ScenarioDefinition getScenario() {
return scenarioDefinition;
}
public Location getLocation() {
return location;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy