colcon test puts reports where?
With catkin
, I can run tests and check results like so:
$ catkin run_tests --workspace $CATKIN_WS ; catkin_test_results $CATKIN_WS
These commands would produce junit
-compliant reports satisfying the following FileSet
globbing expressions:
**/*gtest-*.xml
**/*rostest-*.xml
**/*rosunit-*.xml
The seemingly equivalent invocations for colcon
, namely
$ colcon test ; colcon test-result --all
do not produce any reports satisfying the aforementioned FileSet
.
How do I tell colcon
to produce junit
-compliant reports? Where does colcon
write those reports?
References:
- Java FileSet: https://ant.apache.org/manual/Types/fileset.html
- catkin running unit tests: https://docs.ros.org/en/melodic/api/catkin/html/howto/format2/run_tests.html
- colcon verb test: https://colcon.readthedocs.io/en/released/reference/verb/test.html
- colcon verb test-result: https://colcon.readthedocs.io/en/released/reference/verb/test-result.html
Asked by rubicks on 2021-05-27 13:12:12 UTC
Comments