Adding Catch2 for unittests, reworked CI #165

Merged
muellerr merged 28 commits from mohr/catch2 into develop 2022-03-03 13:34:24 +01:00
Owner

This adds Catch2 as a cmake dependency.

It also introduces a first POC unittest, for the almost-empty thermal controller.

Unittests are new optional target eive-unittest.

CI was changed to use a named docker build, which is built from a tagged commit docker_d* (to be automated).

CI was build was cleared up, inspired by the fsfw CI.

To be able to run the fsfw on the docker container, a docker parameter for the message queues was added.

This adds Catch2 as a cmake dependency. It also introduces a first POC unittest, for the almost-empty thermal controller. Unittests are new optional target `eive-unittest`. CI was changed to use a named docker build, which is built from a tagged commit `docker_d*` (to be automated). CI was build was cleared up, inspired by the fsfw CI. To be able to run the fsfw on the docker container, a docker parameter for the message queues was added.
mohr added 27 commits 2022-03-02 18:07:16 +01:00
skeleton controller now unittested including fsfw. Still dirty WIP
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
f1249392cf
more mocking an such in unittests
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
0f42790aa1
working on thermal controller unit test.
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
e95647c572
added EventManagerMock, to be extended and moved into fsfw some day
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
3400c538b3
reworked test setup
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
bcac56a65c
Merge branch 'mohr/automation' into mohr/catch2
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
62531a710f
Merge branch 'mohr/automation' into mohr/catch2
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
4704e6deb8
-only built when needed
-no more warnings as catch2 is compiled with default compiler flags
Merge branch 'mohr/automation' into mohr/catch2
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
5bd613fb57
c'mon...
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
15bab6ae33
argh
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
c37e7022d1
changing fs.mqueue.msg_max for docker to be able to run unit tests
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
606da48861
small fixes
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
182b90ee6d
Merge branch 'develop' into mohr/catch2
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
2f51f58c7e
forgot one
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
05bd1cc8c6
using new docker container name
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
221d7b408a
Author
Owner

As soon as eive/fsfw#36 is in use and #164 is merged, CI builds should work again.

As soon as https://egit.irs.uni-stuttgart.de/eive/fsfw/pulls/36 is in use and #164 is merged, CI builds should work again.
mohr requested review from muellerr 2022-03-02 18:08:44 +01:00
muellerr added 1 commit 2022-03-03 10:34:57 +01:00
submodule updates
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
EIVE/eive-obsw/pipeline/head This commit looks good
458b33e5fd
muellerr approved these changes 2022-03-03 13:34:18 +01:00
muellerr merged commit e07713a6f7 into develop 2022-03-03 13:34:24 +01:00
mohr deleted branch mohr/catch2 2022-03-03 15:19:59 +01:00
muellerr added this to the v1.9.0 milestone 2022-03-08 10:19:32 +01:00
Sign in to join this conversation.
No description provided.