Class GaugeCommand
java.lang.Object
org.gauge.gradle.GaugeCommand
Represents a Gauge command and provides methods to construct command-line arguments for Gauge execution.
-
Constructor Summary
ConstructorsConstructorDescriptionGaugeCommand(GaugeExtension extension, org.gradle.api.Project project) Constructs a GaugeCommand instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the environment argument for Gauge.Returns the Gauge executable path.getFlags()Returns the list of flags for Gauge execution.Returns the project directory argument for Gauge.Returns the specs directory argument for Gauge.getTags()Returns the tags argument for Gauge.booleanReturns true if neither --failed nor --repeat flags are provided.
-
Constructor Details
-
GaugeCommand
Constructs a GaugeCommand instance.- Parameters:
extension- the GaugeExtension instanceproject- the Gradle project
-
-
Method Details
-
getExecutable
Returns the Gauge executable path.- Returns:
- the path to the Gauge executable
-
getProjectDir
-
getEnvironment
-
isNotFailedOrRepeatFlagProvided
public boolean isNotFailedOrRepeatFlagProvided()Returns true if neither --failed nor --repeat flags are provided.- Returns:
- true if neither flag is present, false otherwise
-
getFlags
-
getSpecsDir
-
getTags
-