Normally to test a launch file using launch_testing you would include the launch file directly. But to use the --secure option provided by this package, you have to instead run ros2 launch from a new launch description, essentially nesting ros2 launch into a launch_testing run. This is sub optimal because you lose the ability to check the output and return codes of individual processes that are being run.
Normally to test a launch file using
launch_testingyou would include the launch file directly. But to use the--secureoption provided by this package, you have to instead runros2 launchfrom a new launch description, essentially nestingros2 launchinto alaunch_testingrun. This is sub optimal because you lose the ability to check the output and return codes of individual processes that are being run.