Skip to content

Conversation

@traversaro
Copy link
Member

Fix #75 .

After this PR, if a folder named ros-humble-robot-state-publisher exists in the tests folder, all the contents of the files will be copied in the recipe directory of the recipe of the recipe named ros-humble-robot-state-publisher.

@Tobias-Fischer Tobias-Fischer merged commit b0cc367 into master Jul 8, 2025
@traversaro
Copy link
Member Author

traversaro commented Jul 8, 2025

An example of this was added in RoboStack/ros-humble#320, the tests/ros-humble-robot-state-publisher.yaml content is:

tests:
  # Regression test for https://github.com/RoboStack/ros-humble/issues/274
  - script:
    - launch_test robot_state_publisher_smoke_test_launch.py
    requirements:
      run:
        - ros-humble-launch-testing-ros 
    files:
      recipe:
        - robot_state_publisher_smoke_test_launch.py

while the tests/ros-humble-robot-state-publisher/ folder contains the file robot_state_publisher_smoke_test_launch.py

@traversaro traversaro deleted the fix75 branch July 8, 2025 20:21
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.

Add support for external files in package tests

3 participants