Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMigrate to JUnit 5 #123
Open
Migrate to JUnit 5 #123
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, unit tests depend on JUnit 4 explicitly (downloading it if it is not available):
ros2_java/rcljava_common/cmake/Modules/JavaExtra.cmake
Lines 55 to 67 in 6291847
By switching to JUnit 5, we can take advantage of new features and the extensibility of it's modular architecture.
At the moment, there aren't many instances I can point to that would justify switching, besides this TODO:
ros2_java/rosidl_generator_java/src/test/java/org/ros2/generator/InterfacesTest.java
Lines 38 to 39 in cf2ef07
I haven't investigated how easy it would be to switch; it may be as simple as update the CMake snippet referenced above.