RoboCompDSL's Tests01 Aug 2016
After develop and following the Software Development Life Cycle:
I have created an script which contains tests for RoboCompDSL. This script allows generate easy components automatically with test code and run them. Users just have to supervise and continue with next test if everything works.
This work and more information can be found here.
How does it work?
tests.sh has a main with 3 options:
1.- Tests for CPP components.
2.- Tests for PYTHON components.
3.- Exit. (You can exit by simply pressing Ctrl + C too)
If you select first or second option, tests.sh will generate and run your components in /tmp/ directory. Why /tmp/? Simply, this tests are useless if everything works so in /tmp will not bother and will be removed after reboot. if you need to work with them, you can find them there or re-launching the script.
Is it nice?
Of course, this script works with Yakuake, and uses it to offer a much more pleasant and familiar test environment. It will create and divide tabs for each test.