# Scraped: https://github.com/espressif/esp-idf/tree/master/tools/test_apps

Title: esp-idf/tools/test_apps at master · espressif/esp-idf · GitHub

[Skip to content](https://github.com/espressif/esp-idf/tree/master/tools/test_apps#start-of-content)

You signed in with another tab or window. [Reload](https://github.com/espressif/esp-idf/tree/master/tools/test_apps) to refresh your session.You signed out in another tab or window. [Reload](https://github.com/espressif/esp-idf/tree/master/tools/test_apps) to refresh your session.You switched accounts on another tab or window. [Reload](https://github.com/espressif/esp-idf/tree/master/tools/test_apps) to refresh your session.Dismiss alert

{{ message }}

[espressif](https://github.com/espressif)/ **[esp-idf](https://github.com/espressif/esp-idf)** Public

- [Notifications](https://github.com/login?return_to=%2Fespressif%2Fesp-idf) You must be signed in to change notification settings
- [Fork\\
8.1k](https://github.com/login?return_to=%2Fespressif%2Fesp-idf)
- [Star\\
17.3k](https://github.com/login?return_to=%2Fespressif%2Fesp-idf)


## Collapse file tree

## Files

master

Search this repository

/

# test\_apps

/

Copy path

## Directory actions

## More options

More options

## Directory actions

## More options

More options

## Latest commit

[![erhankur](https://avatars.githubusercontent.com/u/43336369?v=4&size=40)](https://github.com/erhankur)[erhankur](https://github.com/espressif/esp-idf/commits?author=erhankur)

[Merge branch 'feat/coredump\_extram\_attr' into 'master'](https://github.com/espressif/esp-idf/commit/97491dae35d445ae338bf7fc41448d6e960be571)

Open commit details

2 weeks agoFeb 4, 2026

[97491da](https://github.com/espressif/esp-idf/commit/97491dae35d445ae338bf7fc41448d6e960be571) · 2 weeks agoFeb 4, 2026

## History

[History](https://github.com/espressif/esp-idf/commits/master/tools/test_apps)

Open commit details

[View commit history for this file.](https://github.com/espressif/esp-idf/commits/master/tools/test_apps) History

/

# test\_apps

/

Top

## Folders and files

| Name | Name | Last commit message | Last commit date |
| --- | --- | --- | --- |
| ### parent directory<br> [..](https://github.com/espressif/esp-idf/tree/master/tools) |
| [build\_system](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/build_system "build_system") | [build\_system](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/build_system "build_system") | [ci: update api usage to avoid deprecation warnings](https://github.com/espressif/esp-idf/commit/0a73a2378402ad666c9fbdf53a093bf6545a06c3 "ci: update api usage to avoid deprecation warnings") | 2 months agoDec 23, 2025 |
| [components/test\_utils](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/components/test_utils "This path skips through empty directories") | [components/test\_utils](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/components/test_utils "This path skips through empty directories") | [refactor: Remove idf\_test component](https://github.com/espressif/esp-idf/commit/438e07b30ec38234f35baa04955d9d3c0358ca89 "refactor: Remove idf_test component  Split the idf_performance.h and target ver, which hold the performance thresholds, into the headers of each testing.  In the past pytest also parse the common header to get the thresholds. Now the logic is also removed. Performance thresholds are supposed to be in the pytest scripts.") | 2 months agoDec 31, 2025 |
| [configs](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/configs "configs") | [configs](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/configs "configs") | [change(tools): disable place rtc clock and rtc time modules into iram…](https://github.com/espressif/esp-idf/commit/c588eb5ca22a8bb425f66c4583b418040ab21a68 "change(tools): disable place rtc clock and rtc time modules into iram for flash auto suspend test") | 2 months agoDec 26, 2025 |
| [linux\_compatible](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/linux_compatible "linux_compatible") | [linux\_compatible](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/linux_compatible "linux_compatible") | [ci: update build-test-rules to use common\_components](https://github.com/espressif/esp-idf/commit/4c26ab876b1b7bf6c72a0fa8bba8c92e0282cd56 "ci: update build-test-rules to use common_components") | 3 weeks agoJan 22, 2026 |
| [phy](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/phy "phy") | [phy](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/phy "phy") | [ci: update build-test-rules to use common\_components](https://github.com/espressif/esp-idf/commit/4c26ab876b1b7bf6c72a0fa8bba8c92e0282cd56 "ci: update build-test-rules to use common_components") | 3 weeks agoJan 22, 2026 |
| [protocols](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/protocols "protocols") | [protocols](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/protocols "protocols") | [ci: update build-test-rules to use common\_components](https://github.com/espressif/esp-idf/commit/4c26ab876b1b7bf6c72a0fa8bba8c92e0282cd56 "ci: update build-test-rules to use common_components") | 3 weeks agoJan 22, 2026 |
| [security](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/security "security") | [security](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/security "security") | [feat(esp32s31): Introduce new target esp32s31](https://github.com/espressif/esp-idf/commit/a90c93541c5dd5349a928c8d37871e23b2294f9c "feat(esp32s31): Introduce new target esp32s31") | 3 months agoNov 17, 2025 |
| [storage](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/storage "storage") | [storage](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/storage "storage") | [ci: update build-test-rules to use common\_components](https://github.com/espressif/esp-idf/commit/4c26ab876b1b7bf6c72a0fa8bba8c92e0282cd56 "ci: update build-test-rules to use common_components") | 3 weeks agoJan 22, 2026 |
| [system](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/system "system") | [system](https://github.com/espressif/esp-idf/tree/master/tools/test_apps/system "system") | [Merge branch 'feat/coredump\_extram\_attr' into 'master'](https://github.com/espressif/esp-idf/commit/97491dae35d445ae338bf7fc41448d6e960be571 "Merge branch 'feat/coredump_extram_attr' into 'master'  feat(coredump): add coredump_extram attribute  Closes IDFGH-14687  See merge request espressif/esp-idf!45506") | 2 weeks agoFeb 4, 2026 |
| [README.md](https://github.com/espressif/esp-idf/blob/master/tools/test_apps/README.md "README.md") | [README.md](https://github.com/espressif/esp-idf/blob/master/tools/test_apps/README.md "README.md") | [ci: remove ttfw related info in tools/test\_apps](https://github.com/espressif/esp-idf/commit/01fd87bd05df9a43f1980a553aab485696f468c8 "ci: remove ttfw related info in tools/test_apps") | 3 years agoApr 7, 2023 |
| View all files |

## [README.md](https://github.com/espressif/esp-idf/tree/master/tools/test_apps\#readme)

Outline

# Test Apps

[Permalink: Test Apps](https://github.com/espressif/esp-idf/tree/master/tools/test_apps#test-apps)

This directory contains a set of ESP-IDF projects to be used as tests only, which aim to exercise various
configuration of components to check completely arbitrary functionality should it be building only, executing under
various conditions or combination with other components, including custom test frameworks.

The test apps are not intended to demonstrate the ESP-IDF functionality in any way.

## Test Apps projects

[Permalink: Test Apps projects](https://github.com/espressif/esp-idf/tree/master/tools/test_apps#test-apps-projects)

Test applications are treated the same way as ESP-IDF examples, so each project directory shall contain

- Build recipe in cmake and the main component with app sources
- Configuration files, `sdkconfig.ci` and similar (see below)
- Python test scripts, `pytest_....py` (optional)

## Test Apps layout

[Permalink: Test Apps layout](https://github.com/espressif/esp-idf/tree/master/tools/test_apps#test-apps-layout)

The test apps should be grouped into subdirectories by category. Categories are:

- `protocols` contains test of protocol interactions.
- `network` contains system network tests
- `system` contains tests on the internal chip features, debugging and development tools.
- `security` contains tests on the chip security features.

## CI Behavior

[Permalink: CI Behavior](https://github.com/espressif/esp-idf/tree/master/tools/test_apps#ci-behavior)

### Configuration Files

[Permalink: Configuration Files](https://github.com/espressif/esp-idf/tree/master/tools/test_apps#configuration-files)

For each project in test\_apps (and also examples):

- If a file `sdkconfig.ci` exists then it's built as the `default` CI config.
- If any additional files `sdkconfig.ci.<CONFIG>` exist then these are built as alternative configs, with the specified `<CONFIG>` name.

The CI system expects to see at least a "default" config, so add `sdkconfig.ci` before adding any `sdkconfig.ci.CONFIG` files.

- By default, every CI configurations is built for every target SoC (an `m * n` configuration matrix). However if any `sdkconfig.ci.*` file contains a line of the form `CONFIG_IDF_TARGET="targetname"` then that CI config is only built for that one target. This only works in `sdkconfig.ci.CONFIG`, not in the default `sdkconfig.ci`.
- Each configuration is also built with the contents of any `sdkconfig.defaults` file or a file named `sdkconfig.defaults.<TARGET>` appended. (Same as a normal ESP-IDF project build.)

## Test Apps local execution

[Permalink: Test Apps local execution](https://github.com/espressif/esp-idf/tree/master/tools/test_apps#test-apps-local-execution)

Some of the examples have `pytest_....py` scripts that are using the `pytest` as the test framework. For detailed information, please refer to the "Run the Tests Locally" Section under [ESP-IDF tests in Pytest documentation](https://github.com/espressif/esp-idf/blob/master/docs/en/contribute/esp-idf-tests-with-pytest.rst)

You can’t perform that action at this time.