Open soraxas opened 4 months ago
The CI file in https://github.com/dfki-ric/ugv_nav4d/blob/main/.gitlab-ci.yml is using Gitlab format.
Presumably, it's from dfki-ric
's private gitlab instance? If this public instance will be in Github, you should use github action instead
Build CI: Added github actions based build CI
Unit Testing: The current tests test basic functionality of the planner. If you want something else then can you point me to an example implementation on another library? Thanks!
Some C++ examples:
https://github.com/tbrown122387/pf/tree/master/test
https://github.com/kdm9/libqcpp/tree/master/src/tests
Both of these are JOSS C++ libraries
The tests are located here: https://github.com/dfki-ric/ugv_nav4d/tree/main/src/test
@haider8645: Add the TESTS_ENABLED=ON cmake option, ply download and running the tests in the github action.
Thanks @planthaber but that's what I've already linked in the OP.
As mentioned, some form of unit test would be better (there's only one file in the folder, contains only integration test, i.e., end-to-end test).
E.g. From a quick glance, (non-exhaustive list) your repo has things like Dijkstra algorithm, EnvironmentXYZTheta, compute motion, etc. These are individual item can be use some form tests.
ply download
uploaded the ply files to zenodo. They just need to be added to our organization by the curators and then can remove the test files from repo and update docu and action
@soraxas I am working on the unit tests.
@soraxas I have added some unit tests here for core classes and their functionality. I will made more units over time but for starters hopefully this is enough to test the publication through to joss
Will review, thanks
In https://github.com/dfki-ric/ugv_nav4d/blob/main/src/test/test_ugv_nav4d.cpp there contains a few google test function. But I wouldn't call it unit testing as it's only setting up 1 scenario and tested:
Can we have some more structured unit testing in the traditional sense?
(part of https://github.com/openjournals/joss-reviews/issues/6983)