Skip to content

Refactor: Migrate InfoControllerTest to JUnit 5#11954

Open
prashantkumarniraj wants to merge 1 commit intocBioPortal:masterfrom
prashantkumarniraj:refactor/junit5-info-controller-test
Open

Refactor: Migrate InfoControllerTest to JUnit 5#11954
prashantkumarniraj wants to merge 1 commit intocBioPortal:masterfrom
prashantkumarniraj:refactor/junit5-info-controller-test

Conversation

@prashantkumarniraj
Copy link

Migrates InfoControllerTest from JUnit 4 to JUnit 5.

Changes

  • Removed JUnit 4 imports and @RunWith(SpringJUnit4ClassRunner.class)
  • Added JUnit 5 @ExtendWith(SpringExtension.class)
  • Updated org.junit.Test to org.junit.jupiter.api.Test
  • No behavioral or functional changes

The project currently contains a mix of JUnit 4 and JUnit 5 tests.
This change aligns with the CODE_STYLE.md goal to standardize on JUnit 5.

Fixes #11949

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor: Migrate InfoControllerTest to JUnit 5

1 participant