Skip to content

Commit

Permalink
V1.5.0 resolve issues (#28)
Browse files Browse the repository at this point in the history
* v1.4.1-Junit5-Fix

* updated gitignore

* updated gitignore

* v1.5.0-Resolve-Issues

---------

Co-authored-by: Fabian Hüsig <fabian@huesig-it.com>
  • Loading branch information
fhuesig and Fabian Hüsig authored Feb 6, 2025
1 parent dad3c1c commit fd28cbb
Show file tree
Hide file tree
Showing 50 changed files with 7,990 additions and 10,527 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ Also the Icon (mutation.png) is based on an icon from flaticon by Freepik.
<a href="https://www.flaticon.com/de/kostenlose-icons/gen" title="gen Icons">Gen Icons erstellt von Freepik - Flaticon</a>

## Change Notes
- <b>1.5.0</b> - 2025-02: Updated Pitest to 1.17.4. Fixed Junit5 support. Fixed since-build property. Fixed excludedTestClasses property.
- <b>1.4.1</b> - 2023-08: Added Junit5 Support. Updated Pitest to 1.14.2. Modified pitest-junit5 dependency to resolve compatibility issue with intellij marketplace. Fixed NullPointerException in ClassPathService.
- <b>1.4.0</b> - 2023-06: Added Junit5 Support. Updated Pitest to 1.14.1. Updated min. supported IDE version to 2021.2. Updated Tests from Junit4 to Junit5.
- <b>1.3.0</b> - 2023-05: Adjusted the command line tool to use a generated classpath file to support all OS. Fixed Issue with configuration template. Fixed issue with command line wrapper. Fixed issue with problems of multiple IDE windows. Updated pitest version to 1.13.0
Expand Down
27 changes: 11 additions & 16 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ repositories {
intellij {
version = "$intellijVersion"
plugins = ["JUnit", "com.intellij.java"]
updateSinceUntilBuild.set(false)
}

pitest {
Expand Down Expand Up @@ -91,21 +92,16 @@ dependencies {
// https://mvnrepository.com/artifact/org.pitest/pitest-command-line
libImplementation group: "org.pitest", name: "pitest-command-line", version: "$pitVersion"

// TODO: UPDATE pitest-junit5-plugin when dependencies get updated
// Current release of pitest-junit5-plugin uses pitest-1.9.0 as dependency.
// That uses classes which are incompatible with IntelliJ Marketplace dependencies
// 1.2.1 is the official 1.2.0 release with modified dependency to use pitest 1.14.2
// Created issue for this: https://github.com/pitest/pitest-junit5-plugin/issues/101
libImplementation files('lib/pitest-junit5-plugin-1.2.1.jar')
// https://mvnrepository.com/artifact/org.pitest/pitest-junit5-plugin
libImplementation group: "org.pitest", name: "pitest-junit5-plugin", version: "1.2.1"

// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api
testImplementation group: "org.junit.jupiter", name: "junit-jupiter-api", version: "$junitVersion"
libImplementation "org.junit.jupiter:junit-jupiter-params:1.11.4"
libImplementation "org.junit.jupiter:junit-jupiter-api:1.11.4"
libImplementation "org.junit.vintage:junit-vintage-engine:1.11.4"
libImplementation "org.junit.jupiter:junit-jupiter-engine:1.11.4"

// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine
testImplementation group: "org.junit.jupiter", name: "junit-jupiter-engine", version: "$junitVersion"

// https://mvnrepository.com/artifact/org.junit.platform/junit-platform-launcher
testImplementation group: "org.junit.platform", name: "junit-platform-launcher", version: "$junitPlatformVersion"
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter
testImplementation group:"org.junit.jupiter", name:"junit-jupiter", version:"$junitVersion"

// https://mvnrepository.com/artifact/org.mockito/mockito-junit-jupiter
testImplementation group: "org.mockito", name: "mockito-junit-jupiter", version: "$mockitoVersion"
Expand All @@ -120,9 +116,8 @@ buildSearchableOptions {
}

patchPluginXml {
version = project.version
intellij.updateSinceUntilBuild = false
sinceBuild = "212.4746.92"
version.set(project.version)
sinceBuild.set("212.4746.92")
}

publishPlugin {
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
pluginVersion=1.4.1
pluginVersion=1.5.0
javaSourceCompatibility=1.8
intellijPluginVersion=1.8.0
intellijVersion=2022.1.3
pitVersion=1.14.2
pitVersion=1.17.4
pitGradleVersion=1.9.11
pitJunit5Version=1.2.0
pitJunit5Version=1.2.1
mockitoVersion=5.3.1
mockitoInlineVersion=5.2.0
sonarqubeVersion=4.0.0.2929
junitVersion=5.10.0
junitVersion=5.11.4
junitPlatformVersion=1.10.0
Binary file removed lib/pitest-junit5-plugin-1.2.1.jar
Binary file not shown.
Loading

0 comments on commit fd28cbb

Please sign in to comment.