gradle-allure-plugin | Gradle plugin generating Allure report from test results | Plugin library
kandi X-RAY | gradle-allure-plugin Summary
kandi X-RAY | gradle-allure-plugin Summary
Gradle Allure Plugin allows you to integrate Allure into spock, testng and junit tests.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gradle-allure-plugin
gradle-allure-plugin Key Features
gradle-allure-plugin Examples and Code Snippets
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "ru.d10xa:gradle-allure-plugin:0.5.5"
}
}
apply plugin: 'ru.d10xa.allure'
allure {
aspectjweaver = true
// Choose your test framework.
allure {
aspectjweaver = true
junit = true
testNG = false
spock = false
geb = false
allureResultsDir = "$buildDir/allure-results"
allureReportDir = "$buildDir/allure-report"
allureVersion = "1.4.24.
tasks.withType(Test)*.finalizedBy allureReport
tasks.remove allureReport
allureReport {
from(
"${project(':moduleA').buildDir}/allure-results",
"${project(':moduleB').buildDir}/my-allure-results",
)
to '$buildDir
Community Discussions
Trending Discussions on gradle-allure-plugin
QUESTION
As the title says I cannot force Allure 2
to generate reports for me on local machine.
I've tried a lot of things from Google but nothing helped. I use Kotlin+Selenide+TestNG to write tests, if it helps somehow :)
I'm a little bit confused with Allure
because it has version for testNG
and version for Gradle
- which one should be used? Both?
Here's my build.gradle
file:
ANSWER
Answered 2017-Aug-26 at 13:04The problem is that ru.d10xa:gradle-allure-plugin:0.5.5
is not support Allure 2. We are working on brand new Allure Gradle plugin that available here https://github.com/allure-framework/allure-gradle
At the moment you can use allure-commandline to generate the report at local machine and Allure Jenkins/Teamcity plugin to generate the report on CI.
UpdateNew Allure Gradle plugin that supports Allure 2 is available now. See the docs https://docs.qameta.io/allure/2.0/#_gradle_3 for more details.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gradle-allure-plugin
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page