-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
controller_manager_srvs tests: Add text to assertions #1023
Conversation
This should make debugging failed tests easier.
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## master #1023 +/- ##
==========================================
- Coverage 34.61% 32.67% -1.95%
==========================================
Files 52 91 +39
Lines 2981 9560 +6579
Branches 1855 6440 +4585
==========================================
+ Hits 1032 3124 +2092
- Misses 310 711 +401
- Partials 1639 5725 +4086
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah these are very nice, thank you!
@Mergifyio backport humble |
✅ Backports have been created
|
This should make debugging failed tests easier. (cherry picked from commit 775dd6a) # Conflicts: # controller_manager/test/test_hardware_management_srvs.cpp
#1029) * Add text to assertions references (#1023) This should make debugging failed tests easier. (cherry picked from commit 775dd6a) # Conflicts: # controller_manager/test/test_hardware_management_srvs.cpp * plugin_name -> class_type * plugin_name -> class_type --------- Co-authored-by: Felix Exner (fexner) <[email protected]> Co-authored-by: Bence Magyar <[email protected]>
…ontrols#1023) (ros-controls#1029) * Add text to assertions references (ros-controls#1023) This should make debugging failed tests easier. (cherry picked from commit 775dd6a) # Conflicts: # controller_manager/test/test_hardware_management_srvs.cpp * plugin_name -> class_type * plugin_name -> class_type --------- Co-authored-by: Felix Exner (fexner) <[email protected]> Co-authored-by: Bence Magyar <[email protected]>
This should make debugging failed tests easier.
With this test a flip in a test matrix such as
ros2_control/controller_manager/test/test_hardware_management_srvs.cpp
Lines 230 to 247 in 5065d0c
will produce a test output such as
while without this change it would only have been
which makes debugging this a lot harder, since the referenced line is from the reused function instead of the actual calling block.