Releases: szpak/gradle-pitest-plugin
1.4.8
- Fix problem with setting
historyInputLocation
andjvmPath
- #189 - Less noisy "Adding dependency" logging - #182
- PIT 1.5.1 by default (better Java 14 support)
- Basic functional testing with Java 14
- Validation with Java Gradle plugin - #106 - PR by Matthew Haughton
- CodeNarc code checks - #184 - PR by Matthew Haughton
1.4.7
- Simpler usage with JUnit 5 with
junit5PluginVersion
configuration parameter - #177 - idea by John Scancella - Remove deprecation warnings in Gradle 6 - #155
additionalClasspathFile
no longer marked as@OutputFile
for better Gradle 6+ compatibility- PIT 1.5.0 by default
- Bump minimal Gradle version to 5.6 - required to fix deprecation warnings due to #10953
- upgrade Gradle wrapper to 5.6.4
Starting with this release the configuration required to use PIT with JUnit 5 has been simplified to the following:
plugins {
id 'java'
id 'info.solidsoft.pitest' version '...'
}
pitest {
//adds dependency to org.pitest:pitest-junit5-plugin and sets "testPlugin" to "junit5"
junit5PluginVersion = '0.12'
}
See this blog post for more details.
Compatibility changes. A new set of the configuration parameters (jvmPath
, historyInputLocation
and historyOutputLocation
) has been converted from File
to RegularFileProperty
to prevent deprecation warnings in Gradle 6+. Gradle itself should handle those changes for configuration in build.gradle
, however, there could be some corner cases if those fields were used directly.
1.4.6
- Support for includedTestMethods (PIT 1.3.2) - #79
- Support for useClasspathJar (PIT 1.4.2) - #92
- Support for skipFailingTests (PIT 1.4.4) - #113
- Pass additional PIT features from command line with
--additionalFeatures
- #139 - Set
targetTests
explicitly - #144 - Ability to override
targetTests
from command line--targetTests
- #143 - Run
pitest
aftertest
if both scheduled to run - #141 - PR by Björn Kautler - Remove incubating
addFileExtensionsToFilter()
method added in 1.4.5 - suggestion by Björn Kautler - Travis build with OpenJ9 11 - #112
Compatibility changes. The incubating addFileExtensionsToFilter()
method added in 1.4.5 was removed as it is possible to achieve the same effect (while waiting for improvement in Gradle) with:
pitest {
fileExtensionsToFilter.addAll('xml', 'orbit')
}
1.4.5
- Rework internal plugin implementation to Gradle 5+ standards
- PIT 1.4.10 by default
- Basic Java 12 support tested by CI build
- Move
pitest
task toverification
group - #136 - PR by Björn Kautler - Remove deprecation warnings in Gradle 6.0
- Bump minimal Gradle version to 5.1
- Meaningful error message on running unsupported Gradle version
- Switch build to Gradle 5.6.1
Known limitations. This is a technical release to cope with the changes in Gradle 5 and 6. PIT 1.4.10 is used by default, but not all new features of PIT 1.4.0+ have been implemented yet.
Breaking changes. This release changes internal implementation of the plugin configuration. The Gradle team worked hard to keep it as compatible as possible, but not everything is supported. The new syntax can be required for adding elements to the file extensions to filter (fileExtensionsToFilter
):
pitest {
addFileExtensionsToFilter(['xml', 'orbit'])
}
There could be also some issues for people interacting with the plugin from custom code (instead of from build.gradle
). As a side effect Gradle 5.1 (released in I 2019) is required.
1.4.0
- Basic Java 11 support verified with CI build (requires PIT 1.4.1+)- #86, #81
- Improve
pitest
task caching with @classpath - #93 - PIT 1.4.3 by default
- Switch build to Gradle 4.10.2
- Remove support for Gradle <4.0 (for better Gradle 5 compatibility)
- Remove deprecation warnings in Gradle 5.0
- Enable automatic dependency bumping with Dependabot
Known limitations. To reduce confusion on Java 11 support, this version provides PIT 1.4.3 by default which supports Java 11. However, not all new features of PIT 1.4.0 to 1.4.3 have been implemented in this release of the Gradle plugin. They are planned to be added in the future versions.
1.3.0
- Support for test plugin selection in PIT (e.g. JUnit 5) - #76 - PR by Christoph Sturm
- Support for excludedTestClasses parameter in PIT - #75
- PIT 1.3.1 by default
- Drop Java 7 support - #70
- Basic Java 9 compatibility verified with CI build (preliminary support for Java 9 has been available since PIT 1.2.3) - #68
- Switch build to Gradle 4.5
Breaking change. Starting with 1.3.0 binary artifacts require at least Java 8 (as a JDK used to run a Gradle build).
1.2.4
1.2.2
- ClassPathFile should not use exposed in configuration - #56
- Support for PIT features configuration - #65
- PIT 1.1.12 by default
- Switch releasing to Continuous Delivery with CDeliveryBoy - #66
- Automatic
CHANGELOG.md
synchronization with GitHub releases - #61 - Improve functional tests reliability
- Switch build to Gradle 4.1 (should be still compatible with 2.0+) - #64
- Remove ugly deprecation warning in Gradle 4.0+
- Make contribution for developers using Windows easier - AppVeyor CI build - #58
1.1.11
- support for new
classPathFile
parameter in PIT 1.1.11 - #50 - filter dynamic libraries - #52
- PIT 1.1.11 by default
- downgrade Gradle wrapper to 2.13 due to performance regression in tests with ProjectBuilder
1.1.10
- support for the new
maxSurviving
parameter in PIT 1.1.10 - #45 - add
withHistory
alias (new thing in PIT Maven plugin) for long establishedenableDefaultIncrementalAnalysis
parameter in the Gradle plugin - PIT 1.1.10 by default - #49
- bring full Gradle 2.0 - 2.14.1 range of functional tests back (with custom changes to nebula-test)
- upgrade Gradle wrapper to 2.14.1 - #48