Skip to content
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

Update dependency info.solidsoft.gradle.pitest:gradle-pitest-plugin to v1.15.0 #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Feb 8, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
info.solidsoft.gradle.pitest:gradle-pitest-plugin (source) 1.5.2 -> 1.15.0 age adoption passing confidence

Release Notes

szpak/gradle-pitest-plugin (info.solidsoft.gradle.pitest:gradle-pitest-plugin)

v1.15.0

  • Automatically add junit-platform-launcher dependency to testRuntimeOnly for JUnit Platform projects - #​337 - help from Björn Kautler
  • Remove deprecated Project.getConvention() usage (in Gradle 8.2+) - #​343
  • PIT 1.15.0 by default
  • Basic regression testing with Gradle up to 8.3

Compatibility notes
Starting with PIT 1.14.0 (with pitest-junit-plugin 1.2.0+) junit-platform-launcher is no longer shaded and has to be explicitly added to avoid:
"Minion exited abnormally due to UNKNOWN_ERROR" or "NoClassDefFoundError: org.junit.platform.launcher.core.LauncherFactory".

As an experimental (incubating) feature, junit-platform-launcher is automatically added to the testRuntimeOnly configuration for the JUnit Platform projects.

PLEASE NOTE. This feature is experimental and might not work as expected in some corner cases. In that situation, just disable it with addJUnitPlatformLauncher = false and add the required dependency 'junit-platform-launcher' in a proper version to 'testRuntimeOnly' manually. More information: https://github.com/szpak/gradle-pitest-plugin/issues/337

v1.9.11

  • Support for thresholds in aggregated metrics (requires PIT 1.9.9+) - #​319 - PR by pfoerd
  • Support for verbosity flag, "spinner" disabled by default - #​267 - PR by Carsten Otto
  • PIT 1.9.11 by default
  • Do not produce timestamped reports by default for PIT 1.9.6+ - suggestion by Siddardha Bezawada
  • Minimal supported PIT version is 1.7.1 (due to "verbosity" flag used by default)
  • Deprecate verbose flag - verbosity is much more versatile, especially when used from the Gradle plugin

Compatibility notes

  1. Due to the usage of the "verbosity" flag by default, the minimal supported PIT version is 1.7.1 (released 2021-09-29).
  2. Due to the changes in PIT 1.9.6, timestamped reported are not generated by default (with PIT 1.9.6+). It still can be enforced in the GPP configuration.

v1.9.0

  • PIT 1.9.4 by default (requires pitest-junit5-plugin 1.0.0!)
  • Deprecate support for JDK 8 - #​299
  • Support for inputEncoding and outputEncoding (named in plugin inputCharset and outputCharset) - #​310
  • Add pitest dependencies only during configuration resolution - #​313 - PR by Ian O'Malley
  • Improve build cache hit cache with relative path - #​315 - PR by Siddardha Bezawada
  • Remove (optional) dependencyDistance configuration parameter removed in PIT 1.9.0 - #​311

Compatibility notes

  1. Due to the plugin API changes in PIT 1.9.0, the new pitest-junit5-plugin 1.0.0 is required (other PIT plugins - if used - also need to be upgraded).
  2. The plugin is released with JDK 11. Source/class compatibility is still set to JDK 8, but this might change without notice.

v1.7.4

  • Do not pass --testPlugin for PIT 1.6.7+ for forward compatibility - #​277
  • Deprecate testPlugin configuration parameter (not needed in PIT 1.6.7+, to be removed in PIT 1.8.0) - #​277
  • PIT 1.7.4 by default
  • Upgrade Gradle wrapper to 6.9.2
  • Test for exclusion of certain mutators - #​303 - PR by Narendra Pathai

Compatibility notes:

  1. The testPlugin configuration parameter is deprecated and should not be used. In fact, starting with 1.6.7 it is no longer used (it is enough to add the PIT plugin as a buildscript dependency or just set junit5PluginVersion to use the JUnit 5 plugin). In addition, that property is planned to be removed in PIT 1.8.0.
  2. Using junit5PluginVersion no longer internally set testPlugin property. For using with old PIT (<1.6.7) it is required to set it explicitly in configuration.

v1.7.0

  • Support for Gradle configuration cache - #​249 - PR by David Burstrom
  • Turn on cacheability for PitestTask - #​67 - PR by David Burstrom
  • PIT 1.7.0 by default
  • Fix deprecation warnings in Gradle 7 - #​283 - PR by Mike Duigou
  • Bump minimal supported Gradle version to 6.4 - required to fix deprecation warnings in Gradle 7
  • Remove unused maxMutationsPerClass configuration parameter - #​266
  • Regression tests for JUnit Jupiter 5.8 (with JUnit Platform 1.8) and pitest-junit5-plugin 0.15
  • Upgrade Gradle wrapper to 6.9.1
  • Switch CI from defunct travis-ci.org to travis-ci.com

Compatibility notes:

  1. Gradle 6.4+ is required (to fix deprecation warnings in Gradle 7)
  2. Not directly related with this plugin, but keep in mind that JUnit Jupiter 5.8 (JUnit Platform 1.8) requires pitest-junit5-plugin 0.15+, while 5.7 (1.7) requires <=0.14. Set right plugin version for JUnit 5 version used in your project to avoid runtime errors (such as NoSuchMethodError: 'java.util.Optional org.junit.platform.commons.util.AnnotationUtils.findAnnotation(java.lang.Class, java.lang.Class, boolean)' - see #​300).
  3. Due to the internal changes in PIT 1.7.0 (#​630):
    • all history files should be deleted before upgrading
    • the names of the remove conditionals mutators have changed slightly (it might be needed to update their names in build.gradle, if activated explicitly)

v1.6.0

  • Report aggregation for multi-project builds - #​243 - PR by Mike Safonov
  • Support new configuration property testStrengthThreshold (PIT 1.6.1+) - #​247 - PR by Michael Hönnig
  • PIT 1.6.3 by default
  • Regression tests also with Gradle 7 (milestone)
  • Upgrade Gradle wrapper to 6.8.3
  • Remove deprecated mutateStaticInits and includeJarFiles

Sample configuration for the new report aggregation feature:

//in root project configuration
buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:...'
    }
}

apply plugin: 'info.solidsoft.pitest.aggregator' // to 'pitestReportAggregate' appear

subprojects {
    apply plugin: 'info.solidsoft.pitest'

    pitest {
        // export mutations.xml and line coverage for aggregation
        outputFormats = ["XML"]
        exportLineCoverage = true
        ...
    }
}

After the pitest pitestReportAggregate tasks execution, the aggregated report will be placed in the ${PROJECT_DIR}/build/reports/pitest directory.


Configuration

📅 Schedule: Branch creation - "after 7am and before 11am every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Feb 8, 2024
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch 4 times, most recently from 67541f3 to fc06d56 Compare February 13, 2024 12:38
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch 7 times, most recently from 45e1e3a to 851ba20 Compare February 22, 2024 12:45
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch 2 times, most recently from b117299 to 1894f5d Compare February 27, 2024 15:05
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch from 1894f5d to 2784e70 Compare March 6, 2024 18:12
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch 3 times, most recently from cfcfac2 to f714215 Compare March 19, 2024 17:50
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch from f714215 to d5fe897 Compare March 21, 2024 15:04
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch 5 times, most recently from fe689e2 to 9d696ee Compare April 9, 2024 15:24
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch from 9d696ee to f8507f9 Compare April 11, 2024 12:38
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch 3 times, most recently from 4560f0a to ee16915 Compare April 25, 2024 15:42
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch 2 times, most recently from fa00f8a to f8a25aa Compare April 30, 2024 14:28
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch 2 times, most recently from 51f1c05 to 43259a5 Compare July 29, 2024 10:30
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch 3 times, most recently from b0877c7 to 6fdf09e Compare September 10, 2024 15:55
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch from 6fdf09e to fd107db Compare September 12, 2024 14:26
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch 2 times, most recently from 76c4859 to a2f565b Compare October 4, 2024 08:45
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch 5 times, most recently from 1a16d1c to 6b808eb Compare October 13, 2024 10:38
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch 5 times, most recently from c32ab03 to 92a917f Compare October 23, 2024 14:28
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch from 92a917f to 2477d0a Compare October 31, 2024 13:28
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch 2 times, most recently from a7c007a to 6cf8c20 Compare November 18, 2024 10:40
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch 4 times, most recently from 14dde6a to 4d46af2 Compare December 11, 2024 16:11
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch 3 times, most recently from 2b52299 to 4363a23 Compare December 18, 2024 17:34
@renovate renovate bot force-pushed the renovate/info.solidsoft.gradle.pitest-gradle-pitest-plugin-1.x branch from 4363a23 to 53db2e2 Compare December 19, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants