Hi all,
I have some basic knowledge of the testing framework in DUNE, and have used it a little bit for tests of my own libraries etc. Is there a way to run tests in a similar manner on entire tasks? I do not have intricate knowledge of ROS, but I have understood that they have a way to test both on a library level, on a task level, and on an inter-task level (see
http://wiki.ros.org/action/show/Quality/Tutorials/UnitTesting). Does there exist some way to run task-level and inter-task-level tests today? Has there been any discussions about this?
From my understanding at this point, the first, and possibly very stupid, way that comes to mind to add this functionality to DUNE would be to have a testing framework that would run a bare-minimum dune, with only the task(s) needed for the test. Then the developer could write some testing tasks (that ideally are not compiled into the dune packages) for passing test data and addressing the correctness of the response IMC messages from the task being tested.
I do realize that it is of course possible to run a full instance of dune, with the task you would like to test, and pass IMC messages from e.g. the neptus interface, but it would be nice to be able to set up automated tests.
Regards,
Kristoffer