for_developers:testing
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
for_developers:testing [2017/05/24 10:31] – created graf | 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/ |
+ | |||
+ | ===== Naming ===== | ||
+ | All the tests must be named in the following manner. | ||
+ | <code cpp> | ||
+ | TEST(testName, | ||
+ | </ | ||
+ | '' | ||
+ | |||
+ | ===== Running the Tests ===== | ||
+ | Make sure to compile the unit tests with the cmake argument '' | ||
+ | <code cpp> | ||
+ | $ ./ | ||
+ | $ ./ | ||
+ | $ ./ | ||
+ | $ ./ | ||
+ | $ ./ | ||
+ | $ ./ | ||
+ | $ ./ | ||
+ | $ ./ | ||
+ | $ ./ | ||
+ | </ | ||
+ | |||
+ | 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 | ||
+ | <code cpp> | ||
+ | std:: | ||
+ | eeros:: | ||
+ | </ | ||
+ | |||
+ |
for_developers/testing.1495614718.txt.gz · Last modified: 2017/05/24 10:31 by graf