Lines Matching full:test
7 * _Assertions_ (`TEST_ASSERT` and similar) are used when writing the test cases. See [the reference…
11 …ates _test registration_ feature of ESP-IDF. This feature works when unit test functions are decla…
22 + test — Test project directory
26 …/` and `Makefile` / `CMakeLists.txt`, this project includes a *test project* in its *test* subdire…
28 … unit tests. Top level project is the actual application being developed. Test project included wi…
32 Inside the `testable` component, unit tests are added into `test` directory. `test` directory conta…
39 - test - Test directory of the component
41 * test_mean.c - Test source file
46 When the main application project is compiled, tests are not included. Test project includes the te…
56 As explained above, this example contains two projects: application project and test project.
58 For the test project, you can open the project configuration menu (`idf.py menuconfig`) and explore…
62 As explained above, this example contains two projects: application project and test project.
69 2. Test project is responsible for running the tests.
71 * Enter `test` directory (`unit_test/test`), and run `idf.py -p PORT flash monitor`.
72 * Observe the output: results of test case execution.
93 ### Test project output
96 #### Executing one test by its name #####
99 /Users/ivan/e/esp-idf/examples/system/unit_test/components/testable/test/test_mean.c:16:Mean of an …
109 /Users/ivan/e/esp-idf/examples/system/unit_test/components/testable/test/test_mean.c:16:Mean of an …
110 Running Mean of a test vector...
111 …an/e/esp-idf/examples/system/unit_test/components/testable/test/test_mean.c:22:Mean of a test vect…
112 Running Another test case which fails...
113 …van/e/esp-idf/examples/system/unit_test/components/testable/test/test_mean.c:35:Another test case …
123 /Users/ivan/e/esp-idf/examples/system/unit_test/components/testable/test/test_mean.c:16:Mean of an …
124 Running Mean of a test vector...
125 …an/e/esp-idf/examples/system/unit_test/components/testable/test/test_mean.c:22:Mean of a test vect…
134 /Users/ivan/e/esp-idf/examples/system/unit_test/components/testable/test/test_mean.c:16:Mean of an …
135 Running Mean of a test vector...
136 …an/e/esp-idf/examples/system/unit_test/components/testable/test/test_mean.c:22:Mean of a test vect…
137 Running Another test case which fails...
138 …van/e/esp-idf/examples/system/unit_test/components/testable/test/test_mean.c:35:Another test case …
148 Here's the test menu, pick your combo:
150 (2) "Mean of some test vectors" [mean]
152 Enter test for running.
155 This is the test menu, which is launched by `unity_run_menu` function in the test project. It allow…
157 * Run specific test by its index: type the number and press ENTER.
160 * Run test with a specific name: type the name of the test, including quotes, and press ENTER.
163 Note that the test menu prompt does not echo back the characters typed.
169 /home/user/esp/esp-idf/examples/system/unit_test/components/testable/test/test_mean.c:15:Mean of an…
170 Test ran in 16ms
175 Enter next test, or 'enter' to see menu