-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradle integration test doesn't actually run the test #1532
Comments
I tested locally with adding: test {
useJUnitPlatform()
}
sourceSets {
test {
output.resourcesDir = file('target/test-classes')
java.outputDir = file('target/test-classes')
}
} This gets past the PathTestHelper issue, but it still fails. Looking into it. |
The change still hardcodes a single default location for the classes.
|
@jnizet could you open another issue with all your (very valid) concerns? We knew it was a hack, we need to find a better solution but not sure it will be easy. |
The gradle-it module has a test, but this test is never executed because the gradle test task isn't properly configured to
useJUnitPlatform()
.If the test tack is properly configured, then the test fails, due to #1458
Besides, the configuration
testCompile
used by the gradle build is deprecated. The correct configuration istestImplementation
. See https://docs.gradle.org/current/userguide/dependency_management_for_java_projects.html and https://docs.gradle.org/current/userguide/java_plugin.html#tab:configurationsThe text was updated successfully, but these errors were encountered: