We should migrate to using JUnit 5.
This may involve the following steps, perhaps as sub-tasks.
1. Do whatever necessary to use JUnit 5 binaries instead of JUnit 4, possibly using legacy mode
2. Change the invocation of JUnit tests to avoid using the TestNG wrapper. This is just about the internal implementation.
3. Direct support of JUnit tests. Similar to but different from #2, this would be to allow use of `JUnit.dirs` properties as well as `TestNG.dirs` ... i.e. the user-visible parts.
This may involve the following steps, perhaps as sub-tasks.
1. Do whatever necessary to use JUnit 5 binaries instead of JUnit 4, possibly using legacy mode
2. Change the invocation of JUnit tests to avoid using the TestNG wrapper. This is just about the internal implementation.
3. Direct support of JUnit tests. Similar to but different from #2, this would be to allow use of `JUnit.dirs` properties as well as `TestNG.dirs` ... i.e. the user-visible parts.