launch_testing.test_runner module

class launch_testing.test_runner.LaunchTestRunner(test_runs, launch_file_arguments=[], debug=False)

Bases: object

generate_preamble()

Generate a launch description preamble for a test to be run with.

run()

Launch the processes under test and run the tests.

Returns:

A tuple of two unittest.Results - one for tests that ran while processes were

active, and another set for tests that ran after processes were shutdown

validate()

Inspect the test configuration for configuration errors.