Skip to content

Commit 0271fb5

Browse files
authored
improve tests coverage (via allure-framework#273)
1 parent 1b1152b commit 0271fb5

70 files changed

Lines changed: 1326 additions & 730 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.allure
12
.gradle
23
schema
34
build

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pipeline {
2828
}
2929
post {
3030
always {
31-
allure results: [[path: '**/build/test-results/test']]
31+
allure results: [[path: '**/build/allure-results']]
3232
deleteDir()
3333
}
3434

allure-assertj/build.gradle.kts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ val agent by configurations.creating
44

55
dependencies {
66
agent("org.aspectj:aspectjweaver")
7-
8-
compile(project(":allure-java-commons"))
97
compile("org.assertj:assertj-core")
10-
11-
testCompile("org.slf4j:slf4j-simple")
8+
compile(project(":allure-java-commons"))
129
testCompile("org.junit.jupiter:junit-jupiter-api")
13-
testRuntime("org.junit.jupiter:junit-jupiter-engine")
14-
testCompile(project(":allure-junit-platform"))
10+
testCompile("org.slf4j:slf4j-simple")
1511
testCompile(project(":allure-java-commons-test"))
12+
testCompile(project(":allure-junit-platform"))
13+
testRuntime("org.junit.jupiter:junit-jupiter-engine")
1614
}
1715

1816
tasks.named<Jar>("jar") {
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
allure.results.directory=build/allure-results
1+
allure.results.directory=build/allure-results
2+
allure.label.epic=#project.description#
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
allure.results.directory=build/allure-results
1+
allure.results.directory=build/allure-results
2+
allure.label.epic=#project.description#

allure-cucumber-jvm/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ dependencies {
1818
testCompile("org.junit.jupiter:junit-jupiter-api")
1919
testCompile("org.slf4j:slf4j-simple")
2020
testCompile(project(":allure-java-commons-test"))
21+
testCompile(project(":allure-junit-platform"))
2122
testRuntime("org.junit.jupiter:junit-jupiter-engine")
2223
}
2324

allure-cucumber-jvm/src/test/java/io/qameta/allure/cucumberjvm/AllureCucumberJvmTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import io.github.glytching.junit.extension.system.SystemProperty;
1212
import io.github.glytching.junit.extension.system.SystemPropertyExtension;
1313
import io.qameta.allure.AllureLifecycle;
14-
import io.qameta.allure.Epic;
1514
import io.qameta.allure.Issue;
1615
import io.qameta.allure.model.Attachment;
1716
import io.qameta.allure.model.Label;
@@ -45,7 +44,6 @@
4544
/**
4645
* @author charlie (Dmitry Baev).
4746
*/
48-
@Epic("CucumberJVM 1 integration")
4947
@SuppressWarnings("unchecked")
5048
class AllureCucumberJvmTest {
5149

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
allure.model.indentOutput=true
2-
allure.results.directory=build/allure-results
1+
allure.results.directory=build/allure-results
2+
allure.label.epic=#project.description#

allure-cucumber2-jvm/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ dependencies {
1717
testCompile("org.junit.jupiter:junit-jupiter-api")
1818
testCompile("org.slf4j:slf4j-simple")
1919
testCompile(project(":allure-java-commons-test"))
20+
testCompile(project(":allure-junit-platform"))
2021
testRuntime("org.junit.jupiter:junit-jupiter-engine")
2122
}
2223

allure-cucumber2-jvm/src/test/java/io/qameta/allure/cucumber2jvm/AllureCucumber2JvmTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import io.github.glytching.junit.extension.system.SystemProperty;
1515
import io.github.glytching.junit.extension.system.SystemPropertyExtension;
1616
import io.qameta.allure.AllureLifecycle;
17-
import io.qameta.allure.Epic;
1817
import io.qameta.allure.Issue;
1918
import io.qameta.allure.model.Attachment;
2019
import io.qameta.allure.model.Label;
@@ -50,7 +49,6 @@
5049
/**
5150
* @author charlie (Dmitry Baev).
5251
*/
53-
@Epic("CucumberJVM 2 integration")
5452
@SuppressWarnings("unchecked")
5553
class AllureCucumber2JvmTest {
5654

0 commit comments

Comments
 (0)