1 | initial version |
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
}