You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/01/21 22:14:31 UTC

[GitHub] [accumulo] ctubbsii commented on pull request #2427: WIP - Migrate from JUnit 4 to JUnit 5

ctubbsii commented on pull request #2427:
URL: https://github.com/apache/accumulo/pull/2427#issuecomment-1018903080


   For reference, I saw [this link](https://stackoverflow.com/questions/47158583/executing-junit-4-and-junit-5-tests-in-a-same-build) shows how to get both JUnit4 and JUnit5 tests to build in the same module. If we upgrade one module at a time, we can just switch that module's engine from vintage to jupiter. Also, there's a bunch of examples in their [git repo](https://github.com/junit-team/junit5-samples).
   
   I think the migration via updating the POMs is probably simple enough, but the trickier part might be if some tests using the vintage engine don't work with PowerMock. Or, if we are stuck staying on the vintage engine because some uses of PowerMock might prevent us from using the Jupiter engine. The only way to know is to try and work through the test failures. Currently, tests are failing for other reasons, so it may be hard to migrate right now until those are resolved.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org