mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-09-01 09:53:53 +02:00
provide tasks to unit test, and describe them
gradle does not take the excludeTags and includeTags parameters on the command line with gradle-6.8.3. provide tasks for it, and describe better how to run particular unit tests.
This commit is contained in:
@@ -85,6 +85,24 @@ tasks.register<Test>("testAll") {
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register<Test>("testFlaky") {
|
||||
useJUnitPlatform {
|
||||
includeTags("flaky")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register<Test>("testSlow") {
|
||||
useJUnitPlatform {
|
||||
includeTags("slow")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register<Test>("testTagged") {
|
||||
useJUnitPlatform {
|
||||
includeTags("any()")
|
||||
}
|
||||
}
|
||||
|
||||
// make all archive tasks in the build reproducible
|
||||
tasks.withType<AbstractArchiveTask>().configureEach {
|
||||
isPreserveFileTimestamps = false
|
||||
|
Reference in New Issue
Block a user