-
Notifications
You must be signed in to change notification settings - Fork 38.3k
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
Replace TestSourcesPlugin with Gradle test fixture support #23550
Comments
It will also make builds faster because test classes in downstream projects won't have to be recompiled and tests won't have to be executed if only a test class changes in an upstream project. |
Update: the work on this is essentially complete and can be viewed in the following feature branch. https://github.com/sbrannen/spring-framework/commits/issues/gh-23550-test-fixtures The only open issue is disabling the publication of |
Since we have migrated to Gradle's built-in test fixture support, the custom TestSourcesPlugin Gradle plugin is now obsolete. See spring-projectsgh-23550
Thanks to @melix for providing the code snippet necessary to achieve this with Gradle 5.6.x. See spring-projectsgh-23550
Thanks to @jjohannes for the tip. See gh-23550
Overview
We should consider replacing our custom
TestSourcesPlugin
with Gradle's official support for Test Fixtures.Rationale
Related Issues
The text was updated successfully, but these errors were encountered: