for_developers:testing
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
for_developers:testing [2017/05/24 10:32] – graf | for_developers:testing [2020/07/02 12:00] – [Running the Tests] ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Testing ====== | ====== Testing ====== | ||
- | We use [[https:// | + | We use [[https:// |
+ | |||
+ | ===== 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: |
for_developers/testing.txt · Last modified: 2021/05/25 14:11 by ursgraf