JUnit 5 provides a lot of new features and a lot of default implementations, which can be overridden to extend functionality. apart from what JUnit has to offer, we have certain other extensions which provides even more robust functionality, JUnit-pioneer is one of them.
latest version of Junit pioneer can be found here
plugins {
id 'java'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
dependencies {
testImplementation('org.junit.jupiter:junit-jupiter:5.6.2')
testCompile 'org.junit-pioneer:junit-pioneer:0.6.0'
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}
alogn with JUnit 5 annotaions Junit pioneer provides us
@ClearSystemProperty and @SetSystemProperty
@ClearEnvironmentVariable and @SetEnvironmentVariable
@DefaultLocale and @DefaultTimeZone
Range Sources
@RepeatFailedTest
Report entries
TempDirectory
Vintage @Test