Releases ยท apache/maven-surefire (original) (raw)
3.6.0-M1
๐ New features and improvements
- Use junit platform runner to run junit 3, junit 4 and TestNG tests via vintage engine and testng engine (#3179) @olamy
- Introduce reportTestTimestamp option and include timestamp for test sets and test cases (#3261) @kevinnammour
๐ Bug Fixes
- [Issue-3315] Restore console output fallback report name (#3360) @officialasishkumar
- Avoid producing a trailing colon in
java.class.path. (#3365) @cpovirk - [Issue-3226] JUnit5Xml30StatelessReporter does not change class name in report (#3347) @nils-christian
- Issue #2613 Debugging failsafe tests: Message 'Listening for transport dt_socket at address' is not displayed anymore when using maven.surefire.debug (#3353) @olamy
- Fix empty and missing testcase entries for JUnit 5 @BeforeAll/@afterall failures (#3329) @MilanTyagi2004
- Ensure that the statistics filename is calculated only once. (#3326) @c00ler
- [SUREFIRE-2049] - Fix SHUTDOWN type lost during command serialization. (#3270) @aghoussaini
- Add null guard before setting context map in Pumper thread (#3269) @daniel-mohedano
๐ Documentation updates
- Update documentation we support Junit 6 as well :) (#3370) @olamy
- [Issue-3309] Clarify forkNode default communication docs (#3361) @officialasishkumar
- Use Maven site plugin 3.22.0 and setup mermaid diagrams (#3358) @olamy
- Fix documentation due to code simplification with providers (#3332) @olamy
- Update architecture docs for unified test provider (#3313) @sebtiem
- Add
flakesattribute to use intestsuitereport (#3306) @pzygielo
๐ป Maintenance
- Upgrade Maven version and resolver version (#3325) @olamy
- Use parallel tests with Junit5 feature (#3316) @olamy
- Execute ITs in embedded mode by default (#3323) @slawekjaranowski
- Use surefire 3.5.5 by project itself for testing (#3322) @slawekjaranowski
- Remove redundant ITs and resource cleanups (#3319) @slawekjaranowski
- Fix jenkins build (#3314) @slawekjaranowski
- Upgrade tests to use Junit5 (#3312) @olamy
- Follow Oracle javadoc guidelines (#3177) @elharo
๐ฆ Dependency updates
- Bump org.junit:junit-bom from 5.14.1 to 5.14.4 (#3357) @dependabot[bot]
- Bump commons-io:commons-io from 2.21.0 to 2.22.0 (#3351) @dependabot[bot]
- Bump org.apache.logging.log4j:log4j-core from 2.25.3 to 2.25.4 in /surefire-its/src/test/resources/surefire-1659-stream-corruption (#3343) @dependabot[bot]
- Bump org.fusesource.jansi:jansi from 2.4.2 to 2.4.3 (#3335) @dependabot[bot]
- Bump doxiaVersion from 2.0.0 to 2.1.0 (#3330) @dependabot[bot]
- Bump Mockito to 4.11.0 (#3320) @slawekjaranowski
3.5.6
๐ New features and improvements
- Introduce reportTestTimestamp option and include timestamp for test sets and test cases (#3261) (#3302) @olamy
๐ Bug Fixes
- Issue #2613 Debugging failsafe tests: Message 'Listening for transport dt_socket at address' is not displayed anymore when using maven.surefire.debug (#3353) (#3354) @olamy
- Ensure that the statistics filename is calculated only once. (#3326) (#3327) @olamy
- Add
flakesattribute to use intestsuitereport (#3306) (#3308) @olamy - [BACKPORT 3.5.x] [SUREFIRE-2049] - Fix SHUTDOWN type lost during command serialization. (#3270) (#3289) @olamy
- fix: null guard for context map (#3269) (#3272) @olamy
๐ป Maintenance
- 3.5.x/bug/cherry pick embedded mode its (#3328) @olamy
- Use surefire 3.5.5 by project itself for testing (#3324) @slawekjaranowski
- Follow Oracle javadoc guidelines (#3177) @elharo
๐ฆ Dependency updates
- Bump org.fusesource.jansi:jansi from 2.4.2 to 2.4.3 (#3334) @dependabot[bot]
- Bump commons-io:commons-io from 2.21.0 to 2.22.0 (#3350) @dependabot[bot]
3.5.5
๐ New features and improvements
- Replace runing external process and parsing output with simple ProcessHandle if available (Java9+) (#3252) @olamy
- Pass slf4j context to spawned thread (#3241) @scottrw93
- [SUREFIRE-3239] - allow override of statistics file checksum (#3247) @XN137
- Reduce log level for skipped tests result to info (#3232) @strangelookingnerd
๐ Bug Fixes
- Use PowerShell instead of WMIC for detecting zombie process on Windows (#3258) @jbliznak. Please note if you are using Windows with Java 8 and not PowerShell (you have options to: use Java 9+, install PowerShell or stay on Surefire 3.5.4)
- Properly work with test failures caused during beforeAll phase (#3194) @Frawless
๐ Documentation updates
๐ป Maintenance
- Fix Jenkin badges in README (#3254) @slawekjaranowski
- Use JUnit5 in failsafe ITs (#3251) @slawekjaranowski
- Remove long-deprecated unused encoding property from VerifyMojo (#3198) @Tomlincoln
- Add IT and deal with corner cases of handling beforeAll failures (#3200) @Frawless
- Revert PR #3194 that handle beforeAll failures to follow proper contributing rules (#3211) @Frawless
๐ง Build
๐ฆ Dependency updates
- Bump org.xmlunit:xmlunit-core from 2.10.4 to 2.11.0 (#3209) @dependabot[bot]
- Bump org.apache.maven.plugin-testing:maven-plugin-testing-harness from 3.4.0 to 3.5.1 (#3260) @dependabot[bot]
- Bump parent from 44 to 47 (#3253) @slawekjaranowski
- Bump org.assertj:assertj-core from 3.16.1 to 3.27.7 in /surefire-its/src/test/resources/surefire-1733-testng (#3246) @dependabot[bot]
- Bump org.assertj:assertj-core from 3.27.6 to 3.27.7 (#3245) @dependabot[bot]
- Bump org.codehaus.mojo:animal-sniffer-maven-plugin from 1.26 to 1.27 (#3243) @dependabot[bot]
- Bump org.htmlunit:htmlunit from 4.20.0 to 4.21.0 (#3236) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-java from 1.5.1 to 1.5.2 (#3235) @dependabot[bot]
- Bump org.apache.logging.log4j:log4j-core from 2.17.1 to 2.25.3 in /surefire-its/src/test/resources/surefire-1659-stream-corruption (#3234) @dependabot[bot]
- Bump org.htmlunit:htmlunit from 4.19.0 to 4.20.0 (#3228) @dependabot[bot]
- Bump org.htmlunit:htmlunit from 4.18.0 to 4.19.0 (#3224) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.19.0 to 3.20.0 (#3223) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-interpolation from 1.28 to 1.29 (#3221) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-i18n from 1.0.0 to 1.1.0 (#3220) @dependabot[bot]
- Bump commons-io:commons-io from 2.20.0 to 2.21.0 (#3217) @dependabot[bot]
- Bump org.apache.maven.plugin-testing:maven-plugin-testing-harness from 3.3.0 to 3.4.0 (#3214) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-java from 1.5.0 to 1.5.1 (#3218) @dependabot[bot]
- Bump org.htmlunit:htmlunit from 4.16.0 to 4.18.0 (#3213) @dependabot[bot]
- Bump org.codehaus.mojo:animal-sniffer-maven-plugin from 1.24 to 1.26 (#3202) @dependabot[bot]
- Bump jacocoVersion from 0.8.13 to 0.8.14 (#3204) @dependabot[bot]
- Bump org.assertj:assertj-core from 3.27.4 to 3.27.6 (#3183) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.18.0 to 3.19.0 (#3192) @dependabot[bot]
- Bump org.xmlunit:xmlunit-core from 2.10.3 to 2.10.4 (#3180) @dependabot[bot]
3.5.4
๐ New features and improvements
- Name the shutdown hook (#3170) @cstamas
- Implement fail-fast behavior for JUnit Platform provider (#3155) @marcphilipp
- Create a single LauncherSession for invocations of JUnitPlatformProvider (#863) @marcphilipp
๐ Bug Fixes
- [SUREFIRE-2298] - fix xml output with junit 5 nested classes (fix integration with Cucumber and Archunit) (#828) @olamy
๐ป Maintenance
- feat: enable prevent branch protection rules (#3168) @sparsick
- Get rid of plexus-annotations (#3163) @olamy
- Remove maven-changes-plugin (#861) @sparsick
- Enable GitHub Issues (#831) @Bukama
๐ฆ Dependency updates
- Bump org.htmlunit:htmlunit from 4.15.0 to 4.16.0 (#3173) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-i18n from 1.0-beta-10 to 1.0.0 (#3172) @dependabot[bot]
- Bump org.htmlunit:htmlunit from 4.13.0 to 4.15.0 (#3171) @dependabot[bot]
- Bump org.assertj:assertj-core from 3.27.3 to 3.27.4 (#3167) @dependabot[bot]
- Bump org.apache.commons:commons-compress from 1.27.1 to 1.28.0 (#3165) @dependabot[bot]
- Bump commons-io:commons-io from 2.19.0 to 2.20.0 (#3161) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.18.0 (#3158) @dependabot[bot]
- Bump org.htmlunit:htmlunit from 4.12.0 to 4.13.0 (#856) @dependabot[bot]
- Bump org.xmlunit:xmlunit-core from 2.10.2 to 2.10.3 (#860) @dependabot[bot]
- Bump commons-beanutils:commons-beanutils from 1.7.0 to 1.11.0 in /surefire-its/src/test/resources/webapp (#851) @dependabot[bot]
- Bump org.htmlunit:htmlunit from 4.11.1 to 4.12.0 (#844) @dependabot[bot]
- Bump org.fusesource.jansi:jansi from 2.4.1 to 2.4.2 (#836) @dependabot[bot]
- Bump commons-io:commons-io from 2.18.0 to 2.19.0 (#833) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-interpolation from 1.27 to 1.28 (#829) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-java from 1.4.0 to 1.5.0 (#830) @dependabot[bot]
- Bump jacocoVersion from 0.8.12 to 0.8.13 (#827) @dependabot[bot]
3.5.3
๐ Bug Fixes
- [SUREFIRE-1737] - Fix disable in statelessTestsetReporter (#816) @slawekjaranowski
- [SUREFIRE-1643] - surefire junit5 parallel tests (#815) @olamy
- [SUREFIRE-2289] - Make exceptions more appropriate to context (#798) @elharo
๐ป Maintenance
- surefire shared utils version current version (#825) @olamy
- Update site descriptors (#821) @slawekjaranowski
- Use newer version of surefire for itself testing, enable JUnit 5 in tests (#822) @slawekjaranowski
- Remove dependencies from root pom (#819) @slawekjaranowski
- move this dependency to dptMngt (#818) @olamy
- [SUREFIRE-2291] - Change logger from Plexus to SLF4J (#811) @jeffjensen
- Add GitHub Automation actions (#812) @slawekjaranowski
- Convert reports to Guice (#803) @elharo
- [MNGSITE-529] - Rename "Goals" to "Plugin Documentation" (#809) @Bukama
- Update encoding docs (#802) @elharo
- Guice injection (#801) @elharo
๐ฆ Dependency updates
- Bump org.htmlunit:htmlunit from 4.10.0 to 4.11.1 (#823) @dependabot[bot]
- Bump parent to 44 (#817) @slawekjaranowski
- Bump org.codehaus.plexus:plexus-java from 1.3.0 to 1.4.0 (#810) @dependabot[bot]
- Bump org.htmlunit:htmlunit from 4.4.0 to 4.10.0 (#813) @dependabot[bot]
- Bump commons-io:commons-io from 2.17.0 to 2.18.0 (#797) @dependabot[bot]
- Bump org.assertj:assertj-core from 3.27.2 to 3.27.3 (#807) @dependabot[bot]
- Bump org.assertj:assertj-core from 3.27.0 to 3.27.2 (#805) @dependabot[bot]
- Bump org.assertj:assertj-core from 3.26.3 to 3.27.0 (#800) @dependabot[bot]
3.5.2
3.5.1
๐ New features and improvements
- [SUREFIRE-2270] - Use JUnit5 in surefire-shadefire (#783) @slawekjaranowski
- [SUREFIRE-2266] - Execute ITs in parallel (#781) @slawekjaranowski
- [SUREFIRE-2264] - Limit usage of commons-io from surefire-shared-utils (#777) @slawekjaranowski
๐ Bug Fixes
- [SUREFIRE-2267] - Packages for commons-codec should be relocated in surefire-shared-utils (#782) @slawekjaranowski
- [SUREFIRE-1737] - Fix disable in statelessTestsetReporter (#780) @slawekjaranowski
- [SUREFIRE-2257] - [REGRESSION] NPEx: Cannot invoke "Object.toString()" โฆ (#774) @michael-o
๐ฆ Dependency updates
- [SUREFIRE-2273] - Bump org.hamcrest:hamcrest from 2.2 to 3.0 (#784) @dependabot
- [SUREFIRE-2272] - Bump org.codehaus.plexus:plexus-java from 1.2.0 to 1.3.0 - JDK 23 support (#786) @dependabot
- [SUREFIRE-2226] - Upgrade to Maven Verifier 2.0.0-M1 (#706) @michael-o
- [SUREFIRE-2265] - Bump commons-io:commons-io from 2.16.1 to 2.17.0 (#779) @dependabot
- [SUREFIRE-2263] - Use the latest version of surefire for self build (#776) @slawekjaranowski
- [SUREFIRE-2262] - Bump org.apache.commons:commons-lang3 from 3.16.0 to 3.17.0 (#775) @dependabot
๐ป Maintenance
- [SUREFIRE-2269] - Allow fail during clean in surefire-its (#785) @slawekjaranowski
3.5.0
3.4.0
Bug
- [SUREFIRE-2251] - [REGRESSION] java.lang.NoSuchMethodException: org.apache.maven.plugin.surefire.StartupReportConfiguration.
- [SUREFIRE-2253] - [REGRESSION] Bump org.apache.commons:commons-compress from 1.26.0 to 1.26.1 causes hang
Improvement
- [SUREFIRE-1385] - System properties defined in the Surefire and Failsafe plugin configuration should override user properties
What's Changed
- javadoc: improve description of systemPropertyVariables by @kwin in #759
- Bump org.assertj:assertj-core from 3.26.0 to 3.26.3 by @dependabot in #760
- [Doc] Failsafe Verify goal should mention failsafe by @bdemers in #764
- [SUREFIRE-1385] Add new parameter "userPropertyVariables" to overwrite by @kwin in #762
- Bump org.apache.commons:commons-compress from 1.26.2 to 1.27.0 by @dependabot in #769
- Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.16.0 by @dependabot in #767
- Bump org.htmlunit:htmlunit from 4.3.0 to 4.4.0 by @dependabot in #765
New Contributors
Full Changelog: surefire-3.3.1...surefire-3.4.0
3.3.1
Bug
- [SUREFIRE-2105] - Failsafe report size increased with version upgrade from 2.17 to 2.22.2
- [SUREFIRE-2242] - Plain test report does not include names of the skipped tests
- [SUREFIRE-2250] - Surefire Test Report Schema properties element is not consistent with the code
Improvement
- [SUREFIRE-1360] - Ability to disable properties for successfully passed tests
- [SUREFIRE-1934] - Ability to disable system-out/system-err for successfully passed tests
- [SUREFIRE-2124] - Avoid creating unnecessary target files for pom projects
- [SUREFIRE-2249] - Doc for `properties` parameter does not mention JUnit
What's Changed
- Update MSITE and MPIR in a few ITs by @michael-o in #751
- [SUREFIRE-2124] Avoid creating unnecessary target files for pom projects by @michael-o in #753
- [SUREFIRE-2242] Plain test report does not include names of the skippโฆ by @michael-o in #752
- Bump org.htmlunit:htmlunit from 4.2.0 to 4.3.0 by @dependabot in #754
- Improve time units by @michael-o in #756
- Bump org.codehaus.mojo:animal-sniffer-maven-plugin from 1.23 to 1.24 by @dependabot in #757
- [SUREFIRE-1360] Ability to disable properties for successfully passed tests by @michael-o in #755
- [SUREFIRE-2250] Surefire Test Report Schema properties element is not consistent with the code by @michael-o in #758
Full Changelog: surefire-3.3.0...surefire-3.3.1