Add Launch Testing Demo and Docs #277
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Title
Add Launch Testing Demo and Docs
What does this pull request do?
This PR adds the ability to perform launch testing (node-level integration testing) for some select packages in our robot workspace. Presently the tests are configured for
TakeoffLandingPlanner.Also adds copyright headers and relevant docs on how to run the tests/ add a test of your own.
Which issue number does this address?
Add videos and images if possible.
How did you implement it?
We use the ROS2
launch_testingframework which is built on top ofpytestto write our test scripts.Testing
How do you run the tests?
Implemented as a standalone
dockerservice.What do the tests do?
Perform node level integration testing of the
TakeoffLandingPlannerWhat are the expected results of the tests?
Wether the tests were successful or not.
Did you update the docs (and where)?
Docs are updated via mkdocs.yml and markdown files under
docs/. It should render at localhost:8000 when you rundocker compose up docs.Yes