Skip to content

Migrate remaining JUnit 4 tests to JUnit Jupiter where feasible #34813

Closed
@sbrannen

Description

@sbrannen

Overview

In #23451, we migrated most of the test suite from JUnit 4 to JUnit Jupiter; however, several tests in the spring-test module are still based on JUnit 4.

Since we are now planning to deprecate our JUnit 4 support in 7.0, we should stop using JUnit 4 where feasible.

In other words, the only remaining tests based on JUnit 4 should be tests that are required to run with JUnit 4 in order to test our JUnit 4 support.

Performing this migration will then make it easier to deprecate and finally remove our JUnit 4 support. Additionally, we should be able to simplify our Checkstyle rules by doing so.

This issue is targeted for 6.2.x in order to avoid forward-merge conflicts during the 7.0 development phase as much as possible.

Related Issues

Metadata

Metadata

Assignees

Labels

in: testIssues in the test moduletype: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions