-
Notifications
You must be signed in to change notification settings - Fork 525
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
Separate tests into dedicated packages #453
Comments
I am happy with either approach, would probably be better to follow |
IMHO tests belong with the tested code. The existing test packages have been created to not expose the test plugins. |
The
I am okay with removing them from the metapackage (who uses them anyway?).
The released metapackage does not depend on |
I would agree, but I think the cost of pulling in all these heavy dependencies outweighs the preference of putting the tests alongside the tested code.
Good point.
This is not true - On Melodic, |
I'm proposing splitting out our tests into dedicated packages. These packages will live in the repo, but will not be part of the metapackage, and will not be released. This is similar to
ros_comm
.The rationale for this change is to pull out the heavy test dependencies from the metapackage. In particular, the metapackage currently transitively depends on
gazebo_ros
, since it is used by tests inackerman_steering_controller
,diff_drive_controller
, andfour_wheel_steering_controller
.Would appreciate feedback before I open a PR. Also curious on your thoughts on naming of the test packages (In
ros_control
, our test packages are suffixed with_tests
but were originally designed with a different intention. Inros_comm
, they are prefixedtest_
).The text was updated successfully, but these errors were encountered: