-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Tests too verbose #405
Comments
👍 the verbose arguments results in test being hidden in dozens of lines. This is un-readable. I'm sticking to |
I have not found a good solution, but in moveit we are using this: |
Is there a solution to this issue? I'm encountering it too at the moment. The MoveIt! solution is not sufficient for my needs as it only shows the summary of how many tests have succeeded, failed and so on, but not which and why. |
@HWiese1980 I'm still sticking to |
A 2018 ping: I finally decided to test something and this is pretty rough. @VictorLamoine or @davetcoleman, did you guys find a solution ultimately? |
No I'm relying on |
A workaround is to pipe the output through $ catkin run_tests | sed -En '/^-- run_tests.py/,/^-- run_tests.py/p' This filters out everything besides the output produced by the commands executed via |
Love it! |
thanks @taketwo |
Thanks @taketwo |
Don't we have a plan to fix this unwanted default behavior or not? Is there any idea of whether we should fix this or not? |
Another workaround that I find helpful in having more control over gtest is to first build the test target and then run the tests manually. So assuming I have a test target defined in my CMakeLists.txt file
I like this because I can interact with gtest for example to get a list of tests or to filter tests. Get a list of available tests:
|
Will Just ping this. Its still very annoying to try and debug tests with the current output. You only get the error output and none of the prior ros_info / debug / error |
Thank you for the ping. I started implementing the |
MoveIt! is using the following alias for running its tests on Travis via Docker:
However the verbose argument results in really long log files that get cut off by Travis' limit. e.g. from this build a small snippet of the noise:
I tried removing the
--verbose
flag but then I also lose the important test results data, e.g. from this build it is missing the output that looks like:How can I hide the build noise but still show the test results?
catkin_test_results
will give you a one line summary of failures, but not tell you which tests failed.I suspect a new verb proposed in #397 might address this issue.
The text was updated successfully, but these errors were encountered: