在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:allure-framework/allure-java开源软件地址:https://github.com/allure-framework/allure-java开源编程语言:Java 89.9%开源软件介绍:Allure Java IntegrationsThe repository contains new versions of adaptors for JVM-based test frameworks. All the artifacts are deployed to TestNGThe 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 4The 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 5To 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> SelenideListener for Selenide, that logging steps for Allure: <dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-selenide</artifactId>
<version>$LATEST_VERSION</version>
</dependency> Usage example:
Rest AssuredFilter 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:
You can specify custom templates, which should be placed in src/main/resources/tpl folder:
OkHttpInterceptor 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:
You can specify custom templates, which should be placed in src/main/resources/tpl folder:
gRPCInterceptor for gRPC stubs, that generates attachment for allure. <dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-grpc</artifactId>
<version>$LATEST_VERSION</version>
</dependency> Usage example:
You can enable interception of response metadata (disabled by default)
By default, a step will be marked as failed in case that response contains any statuses except 0(OK). You can change this behavior, for example, for negative scenarios
You can specify custom templates, which should be placed in src/main/resources/tpl folder:
Http clientInterceptors 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:
JAX-RS FilterFilter 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:
JsonUnitJsonPatchMatcher 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> |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论