You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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 {
when opening the results json file under labels have new key value parameters
"lables" : [
{
"name": "groups",
"value": "myGeneratedGroup"
},
{
"name": "priority",
"value": "1"
}
]
What is the motivation / use case for changing the behavior?
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'
}
Other information
The text was updated successfully, but these errors were encountered:
I'm submitting a
What is the current behavior?
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 {
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'io.micrometer:micrometer-registry-prometheus'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client'
implementation 'jakarta.xml.bind:jakarta.xml.bind-api'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
//implementation 'io.qameta.allure:allure-gradle'
//implementation 'io.qameta.allure:allure-adapter'
}
configurations {
testCompile
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
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"
}
]
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
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'
}
Other information
The text was updated successfully, but these errors were encountered: