Skip to content

Conversation

@strangelookingnerd
Copy link

This PR aims to migrate all tests to JUnit5. Changes include:

  • Replace annotations with JUnit5 equivalents
  • Use JUnit5 Assertions (and statically import them)
  • Upgrade to XMLUnit 2.x to support JUnit5
  • Clean-up some assertions (flipped arguments, simplifications)

The only exceptions are tests suites in jaxb.osgi_test that rely on org.apache.felix.ipojo.junit4osgi.OSGiTestSuite for which there seems to be no equivalent that is compatible with JUnit5.

Verified with mvn clean install that build passes before and after my changes.
Overall number of tests and coverage did not change.

I am well aware that the changeset is rather big but still hope that it is managable to review. Please let me know if there are any further questions to my changes.

* Replace annotations with JUnit5 equivalents
* Use JUnit5 Assertions (and statically import them)
* Upgrade to XMLUnit 2.x to support JUnit5
* Clean-up some assertions (flipped arguments, simplifications)
@strangelookingnerd
Copy link
Author

@lukasj Kindly requesting a review.

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.

1 participant