Skip to content

Conversation

@marcphilipp
Copy link
Member

@marcphilipp marcphilipp commented May 8, 2025

Overview

  • Delete deprecated MethodOrderer.Alphanumeric
  • Delete deprecated InvocationInterceptor.interceptDynamicTest
  • Delete deprecated ReflectionSupport.loadClass
  • Delete deprecated ReflectionUtils.readFieldValue
  • Delete deprecated BlacklistedExceptions
  • Delete deprecated PreconditionViolationException
  • Delete deprecated ReflectionUtils.getMethod
  • Delete deprecated ClasspathScanningSupport
  • Delete deprecated ConfigurationParameters.size()
  • Delete deprecated MethodSelector.getMethodParameterTypes()
  • Delete deprecated NestedMethodSelector.getMethodParameterTypes()
  • Make deprecated ReportEntry constructor private
  • Delete deprecated SingleTestExecutor
  • Make deprecated LauncherDiscoveryRequestBuilder constructor private
  • Delete deprecated LegacyReportingUtils
  • Delete deprecated TestPlan methods
  • Delete deprecated junit-platform-runner module
  • Delete deprecated @UseTechnicalNames annotation
  • Delete deprecated methods in EngineTestKit
  • Remove support for deprecated junit.jupiter.tempdir.scope config param
  • Restore TestPlan.getTestIdentifier(String) because it's used by Gradle
  • Document minimum required version of Maven Surefire

I hereby agree to the terms of the JUnit Contributor License Agreement.


Definition of Done

@marcphilipp marcphilipp force-pushed the marc/remove-deprecated-apis branch from b68f15f to 9245160 Compare May 8, 2025 14:58
@marcphilipp marcphilipp force-pushed the marc/remove-deprecated-apis branch from 9245160 to 9a15b99 Compare May 8, 2025 15:02
@marcphilipp
Copy link
Member Author

Related Gradle PR: gradle/gradle#33421

@marcphilipp marcphilipp force-pushed the marc/remove-deprecated-apis branch from 9a15b99 to 5845fc2 Compare May 9, 2025 12:14
@marcphilipp marcphilipp merged commit aa7d3eb into develop/6.x May 9, 2025
13 checks passed
@marcphilipp marcphilipp deleted the marc/remove-deprecated-apis branch May 9, 2025 15:22
@sormuras
Copy link
Member

sormuras commented May 9, 2025

+223 −4,599

🧹

private void validateConfigurationParameters(DiscoveryIssueReporter issueReporter) {
UNSUPPORTED_CONFIGURATION_PARAMETERS.forEach(key -> configurationParameters.get(key) //
.ifPresent(value -> {
var warning = DiscoveryIssue.create(Severity.WARNING,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we decide to start using var in production code for 6.0?

olamy pushed a commit to apache/maven-surefire that referenced this pull request Oct 20, 2025
* fix IT

* fix used dep-versions, remove junit 4 platform-based runner suite test as it is no longer supported and advised.

For details, see:
-junit-team/junit-framework@6604945
-junit-team/junit-framework#2712
- junit-team/junit-framework#4522
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.

4 participants