Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminate older junit dependency #435

Merged

Conversation

jasonkatonica
Copy link
Member

@jasonkatonica jasonkatonica commented Feb 3, 2025

The older junit dependency is still configured in the pom.xml mvn file as a dependency. This update removes this dependency and migrates all codes to junit jupiter framework. In particular the following changes were made.

  1. The pom.xml file was updated to remove the junit dependency. It was replaced by just the hamcrest portion of the features that are used in the project.

  2. All imports are now being done from the org.junit.jupiter.api package instead of org.junit.

  3. Various assertions required the message string to be last argument to the method instead of first.

Back-ported from: #410

Signed-off-by: Jason Katonica [email protected]

The older junit dependency is still configured in the pom.xml mvn
file as a dependency. This update removes this dependency and migrates
all codes to junit jupiter framework. In particular the following
changes were made.

1. The `pom.xml` file was updated to remove the junit dependency. It
was replaced by just the hamcrest portion of the features that are used
in the project.

1. All imports are now being done from the `org.junit.jupiter.api`
package instead of `org.junit`.

1. Various assertions required the message string to be last argument
to the method instead of first.

Signed-off-by: Jason Katonica <[email protected]>
Copy link
Member

@KostasTsiounis KostasTsiounis left a comment

Choose a reason for hiding this comment

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

LGTM

@jasonkatonica jasonkatonica merged commit 4926f0b into IBM:java17 Feb 5, 2025
3 checks passed
@jasonkatonica jasonkatonica deleted the katonica/feature/removeoldjunitdep17 branch February 5, 2025 13:51
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.

3 participants