You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.
As an occasional contributor, I'm frequently tripped up when the last output from ament test is happy and I forget to check for earlier failures. I know that I can run ament test_results to get the summary, but I guess that I just can't get over the expectation that ament test should provide me some sort of summary or at least a red light vs. green light at then of its run (at present, a test failure somewhere in the run doesn't even produce a non-zero return code at the end).
E.g., ros2/cli_tools#6 is a case where that mistake on my part lead @mikaelarguedas and I to spend time investigating a non-existent problem.
Proposal: modify ament test to give the ament test_results output when it's done. If compute overhead for collating the results is a concern, then an option could be added to disable the summary (but the default should be to enable it). If this sounds like a good change, I'm happy to provide a PR.
The text was updated successfully, but these errors were encountered:
Though not strictly related to the idea of printing the test summary, I'm also looking at making ament test return non-zero when a test fails. I found this chunk of code:
As an occasional contributor, I'm frequently tripped up when the last output from
ament test
is happy and I forget to check for earlier failures. I know that I can runament test_results
to get the summary, but I guess that I just can't get over the expectation thatament test
should provide me some sort of summary or at least a red light vs. green light at then of its run (at present, a test failure somewhere in the run doesn't even produce a non-zero return code at the end).E.g., ros2/cli_tools#6 is a case where that mistake on my part lead @mikaelarguedas and I to spend time investigating a non-existent problem.
Proposal: modify
ament test
to give theament test_results
output when it's done. If compute overhead for collating the results is a concern, then an option could be added to disable the summary (but the default should be to enable it). If this sounds like a good change, I'm happy to provide a PR.The text was updated successfully, but these errors were encountered: