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

Process xacro file test #244

Merged
merged 8 commits into from
May 15, 2024
Merged

Process xacro file test #244

merged 8 commits into from
May 15, 2024

Conversation

JesusSilvaUtrera
Copy link
Contributor

@JesusSilvaUtrera JesusSilvaUtrera commented May 10, 2024

🎉 New feature

Closes #92

Summary

Added a pytest unit test to process the main xacro file (andino.urdf.xacro) to check it is well formatted.

Test it

Build the package and then you can test it running colcon test --packages-select andino_description --event-handler=console_direct+ --pytest-args -k test_xacro_processing. You will see in the therminal the output of the test and if there is any error.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Signed-off-by: JesusSilvaUtrera <[email protected]>
@JesusSilvaUtrera
Copy link
Contributor Author

The only doubt I have here is whether it would be necessary to add to the documentation the test part or not.

Copy link
Collaborator

@francocipollone francocipollone left a comment

Choose a reason for hiding this comment

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

Thanks for adding test coverage on this

andino_description/test/test_xacro_processing.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@francocipollone francocipollone left a comment

Choose a reason for hiding this comment

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

LGTM, one comment to go

andino_description/package.xml Show resolved Hide resolved
jballoffet
jballoffet previously approved these changes May 15, 2024
Copy link
Member

@jballoffet jballoffet left a comment

Choose a reason for hiding this comment

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

LGTM!

@JesusSilvaUtrera
Copy link
Contributor Author

@jballoffet all comments addressed.

@jballoffet jballoffet merged commit a265bce into Ekumen-OS:humble May 15, 2024
4 checks passed
@JesusSilvaUtrera JesusSilvaUtrera deleted the jesus/#92_test_xacro_processing branch May 15, 2024 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Adds tests for verifying andino_description urdf parsing.
3 participants