Closed szpak closed 2 years ago
Postponed to 1.7.1 to do not confuse people with both JUnit Platform 1.8.0 compatibility and (not related) testPlugin
deprecation.
Henry kindly reminded about that in #306. The current plan is to release 1.7.1 "soon" and deprecate the testPlugin
parameter in the Gradle plugin (to print a warning) and at the same time stop passing it to PIT (to do not generate error with further PIT versions, once it is removed). 1.7.0 will be the minimal required version.
It suddenly came to me that GPP is usually aware which PIT version is used. As a result, we could just pass the parameter if PIT is <1.7.0 (to keep compatibility with the ower PIT versions - although they shouldn't be used anyway).
With just released GPP 1.7.4, --testPlugin
should not be send for PIT 1.6.7+.
As of 1.6.7 it is no longer used - support for multiple test engines is provided in PIT and there are automatically detected on a classpath.
The parameter should be deprecated (could be still useful for using with lower PIT versions - e.g. for regression testing reasons) and documentation for JUnit 5 plugin support should be revised.