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

Update to JUnit5, Update to J17 and J21 for tests #1736

Merged
merged 4 commits into from
Jul 5, 2024

Conversation

NotStirred
Copy link
Member

@NotStirred NotStirred commented Jun 23, 2024

I switched from google truth to assertj, as truth depends heavily on junit4. No code changes thankfully, only imports (apis we use are identical)

Only thing of note: QuickMathTest#testAbs_1 was previously incorrect (and now fails, relevant part is commented out)

Probably best not to squash as the two commits are entirely separate

@NotStirred NotStirred changed the title Update to JUnit5 Update to JUnit5, Update to J17 and J21 for tests Jun 24, 2024
settings.gradle Show resolved Hide resolved
@NotStirred
Copy link
Member Author

I moved most things into the subproject closure so it should be much easier to understand. Everything now has junit tests and jacoco coverage enabled.

@leMaik
Copy link
Member

leMaik commented Jun 25, 2024

Maybe we can keep the launcher compatible with Java 8, just in case. At least the part that checks and updates Java.

@NotStirred
Copy link
Member Author

hrm, in that case it may be best to specify in each project separately, as the launcher depends on lib too

Copy link
Member

@leMaik leMaik left a comment

Choose a reason for hiding this comment

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

Nice! Next step is increasing the test coverage.

@leMaik leMaik merged commit dac29e8 into chunky-dev:master Jul 5, 2024
1 check passed
@NotStirred NotStirred deleted the feature/junit5 branch July 5, 2024 23:53
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.

2 participants