ros-industrial / ros2_canopen

CANopen driver framework for ROS2
https://ros-industrial.github.io/ros2_canopen/manual/rolling/
156 stars 68 forks source link

Add unit tests for canopen_core - 90% coverage #64

Closed hellantos closed 2 years ago

hellantos commented 2 years ago

This pull request adds unit tests to canopen_core to check proper functionality and achieve high coverage. In addition to the test cases it also adds some changes to the canopen_core classes, which simplify testing. The only change that impacts on other packages is the rewritten and simpified ros2_canopen::DriverException.