mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
d9c5016e08
Paremeterized Test Framework ----------------------------- The SPI has a lot of parameters, which works in the same process. This framework provides a way to easily test different parameter sets. The framework can work in two different ways: - local test: which requires only one board to perform the test - master & slave test: which generates two sub test items which uses the same config set to cooperate to perform the test. The user defines a (pair if master/slave) set of init/deinit/loop functions. Then the test framework will call init once, then call loop several times with different configurations, then call deinit. Then a unit test can be appended by add a parameter group, and pass it into a macro. |
||
---|---|---|
.. | ||
param_test.h |