for_developers:testing
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
for_developers:testing [2020/06/18 16:28] – [Running the Tests] ursgraf | for_developers:testing [2024/10/08 09:32] (current) – [Testing] ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Testing ====== | ====== Testing ====== | ||
- | We use [[https:// | + | We use [[https://google.github.io/googletest/|Google Test]] as our test framework. Read [[https://google.github.io/ |
===== Naming ===== | ===== Naming ===== | ||
Line 23: | Line 23: | ||
</ | </ | ||
- | For the test with the HAL you need to install the [[getting_started: | + | For the test with the HAL you need to install the [[getting_started: |
+ | |||
+ | ===== Suppress Logger Output ===== | ||
+ | We do not want to mangle output from control blocks or from the safety system with output from the testing framework. If you test a component which uses the logger framework, make sure to set the default stream logger and to set ' | ||
+ | <code cpp> | ||
+ | std:: | ||
+ | eeros:: | ||
+ | </ | ||
+ | |||
for_developers/testing.1592490484.txt.gz · Last modified: 2020/06/18 16:28 by ursgraf