JUnit Runner Cucumber Plugin example

Fully functional Cucumber plugin for JUnitRunner

Лицензия

Лицензия

Категории

Категории

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

Группа

com.github.junitrunner
Идентификатор

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

junitrunner-cucumber
Последняя версия

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

0.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

JUnit Runner Cucumber Plugin example
Fully functional Cucumber plugin for JUnitRunner

Скачать junitrunner-cucumber

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

<!-- https://jarcasting.com/artifacts/com.github.junitrunner/junitrunner-cucumber/ -->
<dependency>
    <groupId>com.github.junitrunner</groupId>
    <artifactId>junitrunner-cucumber</artifactId>
    <version>0.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.junitrunner/junitrunner-cucumber/
implementation 'com.github.junitrunner:junitrunner-cucumber:0.0.2'
// https://jarcasting.com/artifacts/com.github.junitrunner/junitrunner-cucumber/
implementation ("com.github.junitrunner:junitrunner-cucumber:0.0.2")
'com.github.junitrunner:junitrunner-cucumber:jar:0.0.2'
<dependency org="com.github.junitrunner" name="junitrunner-cucumber" rev="0.0.2">
  <artifact name="junitrunner-cucumber" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.junitrunner', module='junitrunner-cucumber', version='0.0.2')
)
libraryDependencies += "com.github.junitrunner" % "junitrunner-cucumber" % "0.0.2"
[com.github.junitrunner/junitrunner-cucumber "0.0.2"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
com.github.junitrunner : junitrunner jar 0.0.2
info.cukes : cucumber-junit jar 1.1.5
info.cukes : cucumber-java jar 1.1.5

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

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

junitrunner

JUnit Runner implementation which allows different frameworks to collaborate in the same test case.

JUnit allows to ehance test classes in a several ways. Most straigh forward and most used way is to use acustom Runner, via @RunWith annotation. And frameworks like Spring, Unitils, Mockito and others provide those custom Runners for our pleasure. Works like a charm until you want to use 2 frameworks at once. You can only have 1 runner.

So I've created a runner which supports Plugins. From test case developer perspective it should look like:

@Runwith(JUnitRunner.class)
@WithPlugins({SpringPlugin.class,UnitilsPlugin.class})
public class ATest {
...
}

It is my hope that eventually JUnit developers will eventually provide runner like this. But so far they are so enthusiastic. And I hope that framework profiders will start providing / maintaining plugins. For now, I've converted their Runners to Plugins, which should be fully functional.

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

Версия
0.0.2