Open eriwen opened 5 years ago
Bonus if this also provides a way to have the samples in a different (documentation) module of the build. This is currently not easily possible and requires some boilerplate and has some limitations. I've done it in one of my pet projects:
Limitations with this approach:
PluginUnderTestMetadata
task)
As a Gradle plugin author, I'd like to inject the Gradle plugin under test into the samples test.
Expected Behavior
Provide a
GradlePluginSamplesRunner
that configureswithPluginClasspath()
on TestKit.Current Behavior
Context
There's now 2 plugins that want this. Be cool to provide this.