fsfw/tests/src/fsfw_tests/internal
Robin Mueller ade15ad16d
tests can now be built as part of FSFW
This PR refactores the tests so they are built as part of the FSFW.
This is done by adding Catch2 with the FetchContent directive.

A future implementation might also use a system installation of Catch2
by first checking whether Catch2 can already be found as a package

The custom configuration folder testcfg was moved from the user folder
to the actual unittest folder.

The tests can be built by setting the CMake FSFW_BUILD_UNITTESTS option
to TRUE/ON. They are built with the static library and dropped inside
the build folders fsfw directory.
2021-10-07 13:24:46 +02:00
..
globalfunctions all include corrections 2021-08-02 20:58:56 +02:00
osal tests can now be built as part of FSFW 2021-10-07 13:24:46 +02:00
serialize all include corrections 2021-08-02 20:58:56 +02:00
CMakeLists.txt using _ instead of - now 2021-08-02 20:55:03 +02:00
InternalUnitTester.cpp tests can now be built as part of FSFW 2021-10-07 13:24:46 +02:00
InternalUnitTester.h using better defines 2021-08-16 11:27:46 +02:00
UnittDefinitions.cpp all include corrections 2021-08-02 20:58:56 +02:00
UnittDefinitions.h using _ instead of - now 2021-08-02 20:55:03 +02:00