dfki-ric / ugv_nav4d

A 4D (X,Y,Z, Theta) Planner for unmaned ground vehicles (UGVs).
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Unit Tests and CI #8

Open soraxas opened 1 month ago

soraxas commented 1 month ago

Automated tests: Are there automated tests or manual steps described so that the functionality of the software can be verified?

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)

soraxas commented 1 month 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

https://docs.github.com/en/actions

haider8645 commented 1 month ago

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!