Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CLI commands testing #279

Merged
merged 6 commits into from
Oct 22, 2019
Merged

Support CLI commands testing #279

merged 6 commits into from
Oct 22, 2019

Conversation

hidmic
Copy link
Contributor

@hidmic hidmic commented Jul 19, 2019

This pull request encompasses all additions to launch, and mainly launch_testing, to allow for CLI commands testing.

Connected to ros2/ros2cli#304.

Copy link
Member

@ivanpauno ivanpauno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

process,
cmd_args=None,
*,
timeout=10):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that the code was using alignment before but our style guide explicitly avoids that. Please wrap after the open parenthesis and indent the following lines one level.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Done in 60f12a0.

@hidmic
Copy link
Contributor Author

hidmic commented Aug 1, 2019

This fixes issues in launch_testing and that's regardless of CLI testing. I'll run CI on this patch only so we can get it in.

- Generalize output checking tools.
- Ease process launch and interaction.
- Fix parameterization support.
- Fix pytest hooks.

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
@hidmic
Copy link
Contributor Author

hidmic commented Oct 15, 2019

Same as in ros2/ros2cli#304, 9891ee0 introduces significant changes and improvements. Splitting could be an option, though it'll probably be some work.

Copy link
Member

@ivanpauno ivanpauno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with green CI (make sure all existing launch based tests are run).

launch_testing/launch_testing/markers.py Outdated Show resolved Hide resolved
launch_testing/launch_testing/tools/output.py Show resolved Hide resolved
launch_testing/launch_testing/tools/output.py Show resolved Hide resolved
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
@hidmic
Copy link
Contributor Author

hidmic commented Oct 16, 2019

CI (full, against Fast-RTPS, Connext and Opensplice)

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants