File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ ## Unit test for the Arduino_RPClite library
2+
3+ This directory contains unit-tests that can run locally on PC.
4+ The transport is mocked, no external hardware is required to run the tests.
5+
6+ ### Running the test
7+
8+ Prerequisites:
9+
10+ * ` cmake `
11+ * A working C++ compiler.
12+
13+ From a terminal, change directory to this folder, and run:
14+
15+ ```
16+ mkdir build
17+ cd build
18+ cmake ..
19+ make
20+ ```
21+
22+ it should compile the test and output the executable binary in ` build/bin/test-Arduino_RPClite ` .
23+
24+ The output should look similar to the following:
25+
26+ ```
27+ $ bin/test-Arduino_RPClite
28+ ===============================================================================
29+ All tests passed (91 assertions in 1 test case)
30+ ```
You can’t perform that action at this time.
0 commit comments