Allure result json doesn't contain any indication of group annotation when running a test which is executed as gradle task #1960
Unanswered
danbarel78
asked this question in
Bug Reports
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to run a test written in Java under testng framework and trying to generate an allure report using allure gradle plugin added in my fw.
Now the test has an annotation added, but when running the tests the report that is generated doesn't contain any information about the annotation.
for instance:
@test (groups = {"myGeneratedGroup}, priority = 1)"
when looking at the results generated file (json) , I see no reference to the above annotation
here are the information added to "build.gradle" file
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "io.qameta.allure:allure-gradle:2.8.1"
}
}
plugins {
id 'org.springframework.boot' version '2.6.6'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java-library'
id 'maven-publish'
// id 'io.qameta.allure' version '2.8.0'
id 'io.qameta.allure-adapter' version '2.11.2'
}
allure {
version = '2.19.0'
autoconfigure = true
useTestNG {
}
adapter {
frameworks {
testng {
autoconfigureListeners.set(true)
}
}
}
What is the expected behavior?
when opening the results json file under labels have new key value parameters
"lables" : [
{
"name": "groups",
"value": "myGeneratedGroup"
},
{
"name": "priority",
"value": "1"
}
]
Beta Was this translation helpful? Give feedback.
All reactions