esp-idf/components/bt/test_apps/basic_unit_test
Wang Mengyang c136089f4e change(bt): Modify test_app directory layout
- Existing test app is put in a new subdirectory "basic_unit_test"
2024-04-24 17:24:02 +08:00
..
main change(bt): Modify test_app directory layout 2024-04-24 17:24:02 +08:00
CMakeLists.txt change(bt): Modify test_app directory layout 2024-04-24 17:24:02 +08:00
pytest_basic_unit_test.py change(bt): Modify test_app directory layout 2024-04-24 17:24:02 +08:00
README.md change(bt): Modify test_app directory layout 2024-04-24 17:24:02 +08:00
sdkconfig.defaults change(bt): Modify test_app directory layout 2024-04-24 17:24:02 +08:00

Supported Targets ESP32 ESP32-C3

bt component unit tests

When adding new test cases, check if the depends_components list in .build-test-rules.yml needs to be updated to include additional components. The test app will only be built and tested when these components are modified.

To build and run this test app, using esp32c3 target for example:

idf.py set-target esp32c3
idf.py build flash monitor

To run tests using pytest:

idf.py set-target esp32c3
idf.py build
pytest --target=esp32c3