Repository Summary
Checkout URI | https://github.com/machinekoder/ros_pytest.git |
VCS Type | git |
VCS Version | noetic-devel |
Last Updated | 2023-03-07 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Packages
Name | Version |
---|---|
ros_pytest | 0.2.1 |
README
Description
The package provides a wrapper for pytest to be using conjunction with ROS.
To use the ros_pytest_runner
use the following stanza in your .test
launch file:
<launch>
<param name="test_module" value="$(find your_package)/src"/>
<test test-name="test_lib" pkg="ros_pytest" type="ros_pytest_runner" />
</launch>
Make sure to pass your test path as parameter test_module
to the runner.
A more elaborate description for why I created this ROS package can be found on my blog.
Run
To run the unit tests use following command inside your ROS package catkin run_tests --this
.
Then view the test results with: catkin_test_results
CONTRIBUTING
Repository Summary
Checkout URI | https://github.com/machinekoder/ros_pytest.git |
VCS Type | git |
VCS Version | melodic-devel |
Last Updated | 2023-03-07 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Packages
Name | Version |
---|---|
ros_pytest | 0.2.0 |
README
Description
The package provides a wrapper for pytest to be using conjunction with ROS.
To use the ros_pytest_runner
use the following stanza in your .test
launch file:
<launch>
<param name="test_module" value="$(find your_package)/src"/>
<test test-name="test_lib" pkg="ros_pytest" type="ros_pytest_runner" />
</launch>
Make sure to pass your test path as parameter test_module
to the runner.
A more elaborate description for why I created this ROS package can be found on my blog.
Run
To run the unit tests use following command inside your ROS package catkin run_tests --this
.
Then view the test results with: catkin_test_results