I am trying to write some integration tests for a custom plugin and I discovered some useful classes in Gradle’s repo with such tests for Javadoc plugin using TestResources or AbstractIntegrationSpec (providing Gradle executor and other setup code). However I couldn’t find it in the TestKit library.
Did I miss anything or TestResources and other useful classes are not part of TestKit? If they are not, is there a way to include them as a separate dependency? I would like to avoid doing copy&paste of those classes.
At the moment TestKit does not provide convenience fixtures. I think it would be useful to have additional support. If you would like to contribute the functionality, I’d suggest we start with a design spec that describes the functionality. We’d need to have support for JUnit, Spock and TestNG that works in a similar fashion.