io.github.khda91:step-logger-cucumber4-plugin

A Cucumber plugin for 4th version that logs steps at the moment of execution

Лицензия

Лицензия

Категории

Категории

Cucumber Тестирование приложения и мониторинг
Группа

Группа

io.github.khda91
Идентификатор

Идентификатор

step-logger-cucumber4-plugin
Последняя версия

Последняя версия

2.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

io.github.khda91:step-logger-cucumber4-plugin
A Cucumber plugin for 4th version that logs steps at the moment of execution

Скачать step-logger-cucumber4-plugin

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/io.github.khda91/step-logger-cucumber4-plugin/ -->
<dependency>
    <groupId>io.github.khda91</groupId>
    <artifactId>step-logger-cucumber4-plugin</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.khda91/step-logger-cucumber4-plugin/
implementation 'io.github.khda91:step-logger-cucumber4-plugin:2.0.0'
// https://jarcasting.com/artifacts/io.github.khda91/step-logger-cucumber4-plugin/
implementation ("io.github.khda91:step-logger-cucumber4-plugin:2.0.0")
'io.github.khda91:step-logger-cucumber4-plugin:jar:2.0.0'
<dependency org="io.github.khda91" name="step-logger-cucumber4-plugin" rev="2.0.0">
  <artifact name="step-logger-cucumber4-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.khda91', module='step-logger-cucumber4-plugin', version='2.0.0')
)
libraryDependencies += "io.github.khda91" % "step-logger-cucumber4-plugin" % "2.0.0"
[io.github.khda91/step-logger-cucumber4-plugin "2.0.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.slf4j : slf4j-api jar 1.7.30

provided (3)

Идентификатор библиотеки Тип Версия
io.cucumber : cucumber-core jar 4.8.1
io.cucumber : gherkin jar 5.1.0
org.projectlombok : lombok jar 1.18.12

test (4)

Идентификатор библиотеки Тип Версия
io.cucumber : cucumber-java jar 4.8.1
io.cucumber : cucumber-junit jar 4.8.1
junit : junit jar 4.13
ch.qos.logback : logback-classic jar 1.2.3

Модули Проекта

Данный проект не имеет модулей.

Cucumber Console Step Logger plugin

Maven Central Apache License

Cucumber plugin for the printing steps into console. For the console output used slf4 logger

Supported Cucumber 4 and Cucumber 5 versions

Example of the output from the step

---------- Test Step Execution ----------
When I populate mandatory fields with valid values
	|	gazetteYear	|	startDate	|	endDate	|	
	|	2019       	|	1        	|	5      	|	
---------- Test Step Execution ----------

How to use Cucumber 4 console step logger plugin

Add following dependency to you project Maven

<dependency>
    <groupId>io.github.khda91</groupId>
    <artifactId>step-logger-cucumber4-plugin</artifactId>
     <version>$LATEST_VERSION</version>
    <scope>test</scope>
</dependency>

Gradle

testRuntime "io.github.khda91:step-logger-cucumber4-plugin"

Junit 4

@RunWith(Cucumber.class)
@CucumberOptions(
    plugin = {"io.github.khda91.cucumber4.step.console.logger.Cucumber4StepConsoleLogger"}
)
public class Runner {
}

TestNg

@CucumberOptions(
    plugin = {"io.github.khda91.cucumber4.step.console.logger.Cucumber4StepConsoleLogger"}
)
public class Runner extends AbstractTestNGCucumberTests {
}

Maven

mvn clean test -Dcucumber.options="--plugin io.github.khda91.cucumber4.step.console.logger.Cucumber4StepConsoleLogger"

Gradle

See official Gradle documentation for Cucumber

How to use Cucumber 5 console step logger plugin

Add following dependency to you project Maven

<dependency>
    <groupId>io.github.khda91</groupId>
    <artifactId>step-logger-cucumber5-plugin</artifactId>
     <version>$LATEST_VERSION</version>
    <scope>test</scope>
</dependency>

Gradle

testRuntime "io.github.khda91:step-logger-cucumber5-plugin"

Junit 4

@RunWith(Cucumber.class)
@CucumberOptions(
    plugin = {"io.github.khda91.cucumber5.step.console.logger.Cucumber5StepConsoleLogger"}
)
public class Runner {
}

TestNg

@CucumberOptions(
    plugin = {"io.github.khda91.cucumber5.step.console.logger.Cucumber5StepConsoleLogger"}
)
public class Runner extends AbstractTestNGCucumberTests {
}

Maven

mvn clean test -Dcucumber.options="--plugin io.github.khda91.cucumber5.step.console.logger.Cucumber5StepConsoleLogger"

Gradle

See official Gradle documentation for Cucumber

Версии библиотеки

Версия
2.0.0
1.0.2
1.0.1
1.0.0