ctubbsii edited a comment 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 instead of trying to run both in the same module. 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-unsubscr...@accumulo.apache.org

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


Reply via email to