Allure Spring Boot Integration


Лицензия

Лицензия

Категории

Категории

Spring Boot Контейнер Микросервисы
Группа

Группа

io.qameta.allure
Идентификатор

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

allure-spring-boot
Последняя версия

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

2.9.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Allure Spring Boot Integration
Allure Spring Boot Integration
Ссылка на сайт

Ссылка на сайт

https://github.com/allure-framework/allure-java
Организация-разработчик

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

Qameta IO
Система контроля версий

Система контроля версий

https://github.com/allure-framework/allure-java

Скачать allure-spring-boot

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

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

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
io.qameta.allure : allure-attachments jar 2.9.0
io.qameta.allure : allure-spring4-webmvc jar 2.9.0
org.springframework.boot : spring-boot-autoconfigure jar 1.5.14.RELEASE

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

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

Allure Java Integrations bintray-badge

The repository contains new versions of adaptors for JVM-based test frameworks.

All the artifacts are deployed to https://dl.bintray.com/qameta/maven.

TestNG

The new TestNG adaptors is pretty much ready. To use the adaptor you should add the following dependency:

<dependency>
   <groupId>io.qameta.allure</groupId>
   <artifactId>allure-testng</artifactId>
   <version>$LATEST_VERSION</version>
</dependency>

also you need to configure AspectJ weaver to support steps.

JUnit 4

The first draft of a new JUnit 4 adaptor is ready. To use the adaptor you should add the following dependency:

<dependency>
   <groupId>io.qameta.allure</groupId>
   <artifactId>allure-junit4</artifactId>
   <version>$LATEST_VERSION</version>
</dependency>

JUnit 5

To use JUnit 5 simply add the following dependency to your project:

<dependency>
   <groupId>io.qameta.allure</groupId>
   <artifactId>allure-junit5</artifactId>
   <version>$LATEST_VERSION</version>
</dependency>

Selenide

Listener for Selenide, that logging steps for Allure:

<dependency>
   <groupId>io.qameta.allure</groupId>
   <artifactId>allure-selenide</artifactId>
   <version>$LATEST_VERSION</version>
</dependency>

Usage example:

SelenideLogger.addListener("AllureSelenide", new AllureSelenide().screenshots(true).savePageSource(false));

Capture selenium logs:
SelenideLogger.addListener("AllureSelenide", new AllureSelenide().enableLogs(LogType.BROWSER, Level.ALL));
https://github.com/SeleniumHQ/selenium/wiki/Logging

Rest Assured

Filter for rest-assured http client, that generates attachment for allure.

<dependency>
   <groupId>io.qameta.allure</groupId>
   <artifactId>allure-rest-assured</artifactId>
   <version>$LATEST_VERSION</version>
</dependency>

Usage example:

.filter(new AllureRestAssured())

You can specify custom templates, which should be placed in src/main/resources/tpl folder:

.filter(new AllureRestAssured()
        .withRequestTemplate("custom-http-request.ftl")
        .withResponseTemplate("custom-http-response.ftl"))

OkHttp

Interceptor for OkHttp client, that generates attachment for allure.

<dependency>
   <groupId>io.qameta.allure</groupId>
   <artifactId>allure-okhttp3</artifactId>
   <version>$LATEST_VERSION</version>
</dependency>

Usage example:

.addInterceptor(new AllureOkHttp3())

You can specify custom templates, which should be placed in src/main/resources/tpl folder:

.addInterceptor(new AllureOkHttp3()
                .withRequestTemplate("custom-http-request.ftl")
                .withResponseTemplate("custom-http-response.ftl"))

Http client

Interceptors for Apache HTTP client, that generates attachment for allure.

<dependency>
   <groupId>io.qameta.allure</groupId>
   <artifactId>allure-httpclient</artifactId>
   <version>$LATEST_VERSION</version>
</dependency>

Usage example:

.addInterceptorFirst(new AllureHttpClientRequest())
.addInterceptorLast(new AllureHttpClientResponse());

JAX-RS Filter

Filter that can be used with JAX-RS compliant clients such as RESTeasy and Jersey

<dependency>
   <groupId>io.qameta.allure</groupId>
   <artifactId>allure-jax-rs</artifactId>
   <version>$LATEST_VERSION</version>
</dependency>

Usage example:

.register(AllureJaxRs.class)

JsonUnit

JsonPatchMatcher is extension of JsonUnit matcher, that generates pretty html attachment for differences based on json diff patch.

<dependency>
   <groupId>io.qameta.allure</groupId>
   <artifactId>allure-jsonunit</artifactId>
   <version>$LATEST_VERSION</version>
</dependency>
io.qameta.allure

Allure Framework

A flexible lightweight multi-language test report tool

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

Версия
2.9.0
2.8.1
2.8.0
2.7.0
2.6.0
2.0-BETA22
2.0-BETA21
2.0-BETA20
2.0-BETA19
2.0-BETA18
2.0-BETA17
2.0-BETA16
2.0-BETA15
2.0-BETA14
2.0-BETA13
2.0-BETA12
2.0-BETA11