To incorporate Junit Pioneer @Issue annotations into the Gradle Test Report, you can follow these steps:
testImplementation 'com.github.junit-pioneer:junit-pioneer:1.4.4'
plugins {
id 'com.github.junit-pioneer' version '1.4.4'
}
junitPioneer {
enableIssueTracking = true
}
gradle clean test aggregateTests
This will generate a HTML report in the build/reports/tests/ directory. In this report, you will see a table containing information about the test cases, including the @Issue annotations.
Note: It is important to add the issue tracker information to your annotations in Junit Pioneer. For example:
@Test
@Issue("JIRA-123")
public void testSomething() {
// Test code here
}
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-05-21 08:13:02 +0000
Seen: 10 times
Last updated: May 21 '23
Can a transitive dependency in gradle be made exclusively for runtime purposes?
Why can't IntelliJ IDEA detect the Kotlin multiplatform library?
How do compileSdkVersion and targetSdkVersion differ from each other?
What does the error message "Failed to apply plugin [id 'com.jfrog.artifactory']" mean?
Why doesn't the Android Studio display the layout preview once MaterialCalendarView has been added?
How to update the outdated WebSecurityConfigurerAdapter in Spring Boot?
How can we add animation to the user interface using jetpack compose?