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

Updated tests to JUnit5 and Updated Maven Surefire Plugin #252

Merged
merged 5 commits into from
Jun 29, 2021

Conversation

basshelal
Copy link
Contributor

@basshelal basshelal commented Jun 17, 2021

This fixes #246

Note that there is an intentionally failing test in FailingTest.java to show what a failing test could look like on GitHub Actions, I will remove this in the next commit

This PR changes no functionality or behaviors, only updates tests to use JUnit5, the large number of changes is because of the changes in parameter order for JUnit5's asserts which place the message at the end instead of the beginning.

I also intentionally did not change formatting or style to make reviewing much easier and keep changes to a minimum.

…ner)

This fixes issue jnr#246.

Note that there is an intentionally failing test in `FailingTest.java` to show what a failing test could look like on GitHub Actions, I will remove this in the next commit.
…ner)

This fixes issue jnr#246.

Note that there is an intentionally failing test in `FailingTest.java` to show what a failing test could look like on GitHub Actions, I will remove this in the next commit.
@basshelal
Copy link
Contributor Author

basshelal commented Jun 17, 2021

Ok good the build failed and the new test runner clearly shows us which test failed with the stacktrace. Nice!
I'll remove the failing test now

@basshelal
Copy link
Contributor Author

Excellent! Ready to merge now

# Conflicts:
#	src/test/java/jnr/ffi/LibraryLoaderTest.java
#	src/test/java/jnr/ffi/PlatformTest.java
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.

Update JUnit dependecy to JUnit5 ?
2 participants