Cucumber-JVM: HK2

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Лицензия

Лицензия

Категории

Категории

Cucumber Тестирование приложения и мониторинг HK2 Библиотеки уровня приложения Dependency Injection
Группа

Группа

io.eflabs.cucumber
Идентификатор

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

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

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

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Cucumber-JVM: HK2
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Организация-разработчик

Организация-разработчик

Englishtown

Скачать cucumber-hk2

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

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
io.cucumber : cucumber-java jar 2.4.0
org.glassfish.hk2 : hk2 jar 2.5.0-b32

test (2)

Идентификатор библиотеки Тип Версия
io.cucumber : cucumber-junit jar 2.4.0
junit : junit jar 4.12

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

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

cucumber-hk2

The HK2 module follows the patterns used by the Cucumber Guice dependency module.

An annotation binding scope named @ScenarioScoped has been added, which when set as the binding scope for a class, will limit the object's lifespan to the lifespan of a Cucumber scenario. (i.e. a new instance of this object will be created for each Cucumber scenario)

The ServiceLocator used by the module is provided by the user's implementation of ServiceLocatorSource. Expose your implementation to the Cucumber runtime by setting the environment key hk2.locator-source to the fully qualified name of the implementing class.

The easiest way to do this is by creating a cucumber.properties file with the configuration values, and placing this file at the root of your classpath.

If you do not provide your own custom ServiceLocatorSource, a default ServiceLocatorSource will be created by the module. This default ServiceLocator will be populated by services found in the META-INF/hk2-locator/default file.

Please refer to the HK2 project page for further information on HK2.

io.eflabs.cucumber

Labs @ EF Education First

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

Версия
0.1.0