Closed traversaro closed 6 years ago
I have added some simple tests which can be run using testrunner
via make test
(see testing
branch) .
@traversaro and @drdanz we can elaborate that!
I had an issue using make test
: the simulator window appeared and disappeared immediately, making the test fail due to fixtures problems. This issue didn't come out using ctest
though.
cc @aerydna @drdanz
@traversaro is this issue fixed? :p
We now have a rtf_add_suite
CMake command, perhaps also an rtf_add_testcase
could be useful? Otherwise I think this could be closed.
I think the rtf_add_suite
is enough unless we actually need a rtf_add_testcase
in a real-world scenario.
To simplify adding tests using
testrunner
to CTest using theadd_test
cmake command, the CMake infrastructure of RTF should provide a variable containing the absolute path to the testrunner binary.Helper CMake functions to automatically add a CTest test from a suite would also be convenient.
cc @S-Dafarra