Skip to content

Move the tests in the rclrs_tests crate into rclrs. #383

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

Merged
merged 3 commits into from
Mar 26, 2024

Conversation

maspe36
Copy link
Collaborator

@maspe36 maspe36 commented Mar 24, 2024

Addresses #368

rclrs_tests does not need to be a separate crate. According to Esteve from the March 11th meeting, it was originally created as a separate crate before there was a pattern of vendoring message packages.

I looked at each test and moved them to their appropriate source file. For the helpers, I followed a test organization pattern I've seen in axum.

@maspe36 maspe36 requested review from esteve, mxgrey and jhdcs March 24, 2024 18:01
Copy link
Collaborator

@jhdcs jhdcs left a comment

Choose a reason for hiding this comment

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

The changes look good to me! I especially like the addition of the test helpers. Makes things a bit more organized / less boilerplate.

@jhdcs jhdcs merged commit 12bca36 into ros2-rust:main Mar 26, 2024
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.

2 participants