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

JUnit 5 Migration #381

Merged
merged 5 commits into from
Jun 27, 2023
Merged

JUnit 5 Migration #381

merged 5 commits into from
Jun 27, 2023

Conversation

syoon2
Copy link
Contributor

@syoon2 syoon2 commented May 5, 2023

The current impl is using Junit 4 and is WAI. Please send a PR if you want to upgrade to Junit 5, altough that might breaks other tests along the way

https://github.com/williamfiset/Algorithms/blob/master/build.gradle#L35

Originally posted by @williamfiset in #294 (comment)

This PR migrates all JUnit 4-based test suites to JUnit 5. This includes:

  • Replacing JUnit 4 API uses with JUnit 5
    (Switching to the latest and the greatest 😄)
  • Bumping up test dependencies to latest versions (d21b550)

This does not include:

Side note: Due to an upstream "issue" with google/truth, JUnit 4 is indirectly included as a test dependency regardless of this PR 😢 - see google/truth#333 for context.

@syoon2
Copy link
Contributor Author

syoon2 commented May 15, 2023

@williamfiset Just a kind ping :)

@ptahchiev
Copy link

Any chance to get this merged?

Bumps [com.google.truth:truth](https://github.com/google/truth) from 1.1.3 to 1.1.5.
- [Release notes](https://github.com/google/truth/releases)
- [Commits](https://github.com/google/truth/commits/v1.1.5)

---
updated-dependencies:
- dependency-name: com.google.truth:truth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@williamfiset williamfiset merged commit 04d5d2f into williamfiset:master Jun 27, 2023
@syoon2 syoon2 deleted the junit5-tests branch June 27, 2023 06:34
@syoon2 syoon2 mentioned this pull request Aug 8, 2023
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