fsfw/unittest/README.md

20 lines
669 B
Markdown
Raw Permalink Normal View History

2020-10-20 17:11:23 +02:00
## FSFW Testing
2020-12-27 14:53:37 +01:00
This folder contains testing and unit testing components.
2020-10-20 17:11:23 +02:00
### Instructions
2020-10-30 14:42:42 +01:00
2020-12-27 14:53:37 +01:00
The easiest way to run the unittest contained in this folder is to follow
the steps in the [test repository](https://egit.irs.uni-stuttgart.de/fsfw/fsfw_tests).
This is recommended even if the goal is to set up a custom test repository to have
a starting point.
2020-10-30 14:42:42 +01:00
2020-12-27 14:53:37 +01:00
To set up a custom test repository or project, following steps can be performed:
2020-10-20 17:11:23 +02:00
2020-12-27 14:53:37 +01:00
1. Copy the user folder content into the project root.
2. Clone [Catch2](https://github.com/catchorg/Catch2) in the project root.
3. Use the `CMakeLists.txt` as a starting point to add tests and build the test
executable.
2020-10-20 17:11:23 +02:00