Skip to content

Support CLI commands testing#279

Merged
hidmic merged 6 commits intomasterfrom
hidmic/cli-test-coverage
Oct 22, 2019
Merged

Support CLI commands testing#279
hidmic merged 6 commits intomasterfrom
hidmic/cli-test-coverage

Conversation

@hidmic
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

@hidmic hidmic force-pushed the hidmic/cli-test-coverage branch from c4fd5ea to 45c12e9 Compare October 15, 2019 16:33
- Generalize output checking tools.
- Ease process launch and interaction.
- Fix parameterization support.
- Fix pytest hooks.

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
@hidmic hidmic force-pushed the hidmic/cli-test-coverage branch from 45c12e9 to 9891ee0 Compare October 15, 2019 16:44
@hidmic
Copy link
Copy Markdown
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
Copy Markdown
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).

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
Copy Markdown
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