DomGarguilo opened a new issue #2441:
URL: https://github.com/apache/accumulo/issues/2441


   It would be nice to upgrade the project from the older JUnit 4 to the newer 
JUnit 5 Jupiter dependency. The migration process would be large so I thought 
it would be a good idea to have a ticket to track the progress of the migration.
   
   It has been suggested that this task be broken up into various chunks so 
that pull requests are smaller, more manageable and easier to review.
   
   There are a few general steps that this migration can be broken down into:
   
   > 1. things that can be done while still on JUnit4 to ease the migration
   > 2. things to update the parent POM to manage the JUnit dependencies
   > 3. (module migration stage 1) things that can be done in each module to 
move that module from JUnit4 to JUnit5 with the vintage engine
   > 4. (module migration stage 2) things that can be done in each module to 
move that module from JUnit5 vintage to JUnit5 Jupiter engine
   
   _Originally posted by @ctubbsii in 
https://github.com/apache/accumulo/issues/2427#issuecomment-1022535919_
   
   Step 1 from the list above includes things that overlap between JUnit 4 and 
5. An example of this sort of change is #2435. At this point I'm not sure if 
there are any more tasks that fit into step 1.
   
   Step 2 may only require one PR as well.
   
   The following table (_Originally posted by @ctubbsii in 
https://github.com/apache/accumulo/issues/2427#issuecomment-1022535919_) may 
aide in keeping track of stages 3 and 4. This table can be updated to reflect 
the progress of the migration as it happens, using :heavy_check_mark: or 
something similar to mark completion.
   | Module      | Migrate to JUnit5 vintage | Migrate to JUnit5 jupiter |
   | ----------- | ----------- | ----------- |
   | assemble |  |  |
   | core |  |  |
   | hadoop-mapreduce |  |  |
   | iterator-test-harness |  |  |
   | minicluster |  |  |
   | server/base |  |  |
   | server/compaction-coordinator |  |  |
   | server/compactor |  |  |
   | server/gc |  |  |
   | server/manager |  |  |
   | server/master |  |  |
   | server/monitor |  |  |
   | server/native |  |  |
   | server/tserver |  |  |
   | shell |  |  |
   | start | |  |
   | test |  |  |


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to