Проблема (Вопрос) заключается в том, что получаю пустой Allure отчет
Я попытался, использовать последние(откатывать) версии Java, Allure, Gradle
Код:
plugins {
id ‘java’
id ‘io.qameta.allure’ version ‘2.8.1’
}
repositories {
mavenCentral()
}
allure {
autoconfigure = true
aspectjVersion = ‘1.9.4’
version = ‘2.19.0’
useJUnit5 {
version = ‘2.19.0’
}
}
dependencies {
testImplementation ‘com.codeborne:selenide:6.10.3’
testRuntimeOnly ‘org.slf4j:slf4j-simple:2.0.5’
testImplementation 'io.qameta.allure:allure-selenide:2.19.0'
testImplementation 'io.qameta.allure:allure-junit5:2.19.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
testCompileOnly 'junit:junit:4.13.2'
}
configurations {
create(“testCompile”)
}
test {
useJUnitPlatform()
systemProperty 'allure.link.tms.pattern','https://youtrack.jetbrains.com/{}'
systemProperty 'allure.link.issue.pattern','https://youtrack.jetbrains.com/issue/{}'
systemProperty 'junit.jupiter.extensions.autodetection.enabled','true'
systemProperty 'allure.results.directory', 'build/allure-results'
}
Логи и ошибка:
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:allureServe’.
Build cancelled while executing task ‘:allureServe’
Версии ОС и софта следующие:
Java 11 (Open JDK), Gradle 7.6, Selenide 6.10.3, Allure-selenide:2.19.0