Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Repository files navigation

Xteps2

Maven CentralJavadocLicenseGitHub Workflow Status

How to use

Requires Java 8+ version or Kotlin JVM.

ModuleMaven centralJavadoc
xteps2Maven CentralJavadoc
xteps2-allureMaven CentralJavadoc
xteps2-extentreportsMaven CentralJavadoc
xteps2-qaseMaven CentralJavadoc
xteps2-reportportalMaven CentralJavadoc
xteps2-selenideMaven CentralJavadoc
xteps2-testitMaven CentralJavadoc

Maven:

<dependency>
<groupId>com.plugatar.xteps2</groupId>
<artifactId>{module name}</artifactId>
<version>1.1</version>
<scope>test</scope>
</dependency>

Gradle:

dependencies {
testImplementation 'com.plugatar.xteps2:{module name}:1.1'
}

Kotlin DSL:

dependencies {
testImplementation("com.plugatar.xteps2:{module name}:1.1")
}

Code examples

You can find code examples in the xteps2-examples repository.

Configuration

There are two ways to use parameters. Be aware that higher source override lower one - properties from file can be overridden by system properties.

PrioritySource
1System properties
2Properties file (xteps.properties)

Properties list

NameTypeRequiredDefault valueDescription
xteps.reporter.enabledBooleanNotrueEnable/disable steps logging.
xteps.listener.autodetectionBooleanNotrueEnable/disable Service Provider Interface mechanism to detect and instantiate com.plugatar.xteps2.core.StepListener implementations. Implementations should have zero-argument public constructor.
xteps.listener.listStringNoList of com.plugatar.xteps2.core.StepListener implementations names in Class#getTypeName() format. Names should be separated by ,. Implementations should have zero-argument public constructor.
xteps.exceptionHandler.cleanStackTrace.enabledBooleanNotrueRemoves all stack trace lines about Xteps from any exception except XtepsException.
xteps.textFormatter.enabledBooleanNotrueEnable/disable text artifacts (name and description) formatting.
xteps.textFormatter.replacementPatternStringNo{([^}]*)}Replacement pattern for text formatter.
xteps.textFormatter.field.forceAccess.enabledBooleanNotrueAllow forced retrieval of field values via reflection.
xteps.textFormatter.method.forceAccess.enabledBooleanNotrueAllow forced retrieval of method result values via reflection.
xteps.keyword.featureStringNoFeatureFeature keyword value.
xteps.keyword.backgroundStringNoBackgroundBackground keyword value.
xteps.keyword.scenarioStringNoScenarioScenario keyword value.
xteps.keyword.scenarioOutlineStringNoScenario OutlineScenario Outline keyword value.
xteps.keyword.givenStringNoGivenGiven keyword value.
xteps.keyword.whenStringNoWhenWhen keyword value.
xteps.keyword.thenStringNoThenThen keyword value.
xteps.keyword.andStringNoAndAnd keyword value.
xteps.keyword.butStringNoButBut keyword value.
xteps.keyword.asteriskStringNo** keyword value.

Releases

Used by

Contributors

Languages