esp-idf/components/espcoredump/test_apps
2024-02-19 21:57:28 +01:00
..
main refactor(espcoredump): format coredump component with astyle 2024-02-19 21:57:28 +01:00
.build-test-rules.yml feat(espcoredump): migrate the tests from unit-test-app 2023-09-21 14:32:45 +02:00
CMakeLists.txt feat(espcoredump): migrate the tests from unit-test-app 2023-09-21 14:32:45 +02:00
pytest_coredump.py feat(espcoredump): migrate the tests from unit-test-app 2023-09-21 14:32:45 +02:00
README.md feat(espcoredump): migrate the tests from unit-test-app 2023-09-21 14:32:45 +02:00
sdkconfig.defaults feat(espcoredump): migrate the tests from unit-test-app 2023-09-21 14:32:45 +02:00

Supported Targets ESP32 ESP32-C2 ESP32-C3

Coredump unit tests

The unit tests are currently run only on the chips listed above just to save CI resources. If you are adding some tests which need to run on a different chip, update .build-test-rules.yml, adding the chip you need.

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.

See also the panic test app which serves as an integration test for espcoredump and is run on all supported chips.

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