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

Increase test coverage ament_index_python #41

Merged
merged 3 commits into from
Jan 22, 2020

Conversation

Blast545
Copy link
Contributor

Tests added to remaining functions in the package

Copy link
Contributor

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

@Blast545 Great work!!
I left a bunch of comments, but most of them are stylistics or minor.

ament_index_python/ament_index_python/__init__.py Outdated Show resolved Hide resolved
ament_index_python/test/test_ament_index_python.py Outdated Show resolved Hide resolved
ament_index_python/test/test_ament_index_python.py Outdated Show resolved Hide resolved
ament_index_python/test/test_ament_index_python.py Outdated Show resolved Hide resolved
ament_index_python/test/test_ament_index_python.py Outdated Show resolved Hide resolved
ament_index_python/test/test_ament_index_python.py Outdated Show resolved Hide resolved
ament_index_python/test/test_ament_index_python.py Outdated Show resolved Hide resolved
ament_index_python/test/test_ament_index_python.py Outdated Show resolved Hide resolved
ament_index_python/test/test_ament_index_python.py Outdated Show resolved Hide resolved
@Blast545 Blast545 self-assigned this Jan 21, 2020
@Blast545 Blast545 added the enhancement New feature or request label Jan 21, 2020
Copy link
Contributor

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

Some extra comments, but it's looking better!

ament_index_python/test/test_ament_index_python.py Outdated Show resolved Hide resolved
ament_index_python/test/test_ament_index_python.py Outdated Show resolved Hide resolved
ament_index_python/test/test_ament_index_python.py Outdated Show resolved Hide resolved
ament_index_python/ament_index_python/__init__.py Outdated Show resolved Hide resolved
ament_index_python/test/test_ament_index_python.py Outdated Show resolved Hide resolved
ament_index_python/test/test_ament_index_python.py Outdated Show resolved Hide resolved
ament_index_python/ament_index_python/__init__.py Outdated Show resolved Hide resolved
@dirk-thomas
Copy link
Contributor

What makes this PR harder to review than necessary is the mixture of unrelated changes. The patch does add tests as indicated by the title but also does some random code changes (arguably improvements) as well as refactorings to use different concepts (like with).

I strongly suggest to keep changes separate and create different PRs for unrelated changes. That will make sure that each can be reviewed easily and can get merged quickly.

Signed-off-by: Jorge J. Perez <jjperez@ekumenlabs.com>
@Blast545
Copy link
Contributor Author

Blast545 commented Jan 22, 2020

I removed code change improvements for now.

Copy link
Contributor

@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 Dirk's comment addressed and green CI.

Signed-off-by: Jorge J. Perez <jjperez@ekumenlabs.com>
Signed-off-by: Jorge J. Perez <jjperez@ekumenlabs.com>
@Blast545
Copy link
Contributor Author

CI:

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

@Blast545 Blast545 merged commit 0860bc1 into ament:master Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants