pyros-dev / pyros

Python interfacing for multiprocess software - A Python blanket for ROS to hide inside
BSD 3-Clause "New" or "Revised" License
24 stars 4 forks source link

Process isolation in tests #97

Open asmodehn opened 7 years ago

asmodehn commented 7 years ago

Currently the pyros tests are testing integration with sample ROS systems.

While it is very useful to ensure everything is working as expected (versus requiring specs/mock during unittest & have integration tests at a later stage), it triggers a conflict between :

Possible solutions are :

asmodehn commented 7 years ago

After chatting with @stonier, another possible solution might be to use roslaunch or rosunit/rostest to launch a ROS node in its own subprocess. We need to investigate if this is doable in such cases.

asmodehn commented 7 years ago

Also for testing in pyros we usually :

It is not yet clear if :

For now, working around it by calling the tests separately and moving on...