You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try using this code in any Kotlin project that has the test task configured:
tasks.withType<Test> {
useJUnit {
// The line below this won't compile.
excludeCategories("edu.wpi.first.shuffleboard.app.NonHeadlessTests")
}
}
Your Environment
Build scan URL:
Gradle version 4.1 but this also exists in 4.0.2.
The text was updated successfully, but these errors were encountered:
JLLeitschuh
changed the title
org.gradle.api.tasks.testing.Test::useTestNg does not have correct type signature
org.gradle.api.tasks.testing.Test::useJunit does not have correct type signature
Aug 8, 2017
Expected Behavior
org.gradle.api.tasks.testing.Test::useJunit
should have have the signature:This same problem exists with:
Current Behavior
Currently it has the signature:
Context
In order to configure the
JUnitOptions
in Kotlin you need to do this:Steps to Reproduce (for bugs)
Try using this code in any Kotlin project that has the test task configured:
Your Environment
Gradle version
4.1
but this also exists in4.0.2
.The text was updated successfully, but these errors were encountered: