Merge branch 'docs/update_unit_test_v5.5' into 'release/v5.5'

docs: Add related documentation for unit test (v5.5)

See merge request espressif/esp-idf!46443
This commit is contained in:
Jiang Jiang Jian
2026-03-31 10:47:55 +08:00
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -380,3 +380,8 @@ Application Examples
--------------------
:example:`system/unit_test` demonstrates how to use the Unity library to add unit tests to custom components in an {IDF_TARGET_NAME} development environment, showcasing features such as assertions, test registration, and the use of UNITY_BEGIN() and UNITY_END() macros.
Related Documentation
---------------------
- `Unit Testing with Unity in VS Code <https://docs.espressif.com/projects/vscode-esp-idf-extension/en/latest/additionalfeatures/unit-testing.html>`__
+5
View File
@@ -380,3 +380,8 @@ Mocks
--------------------
:example:`system/unit_test` 演示了如何在 {IDF_TARGET_NAME} 开发环境中使用 Unity 库为自定义组件添加单元测试,展示了如断言、测试注册等功能,以及如何使用 UNITY_BEGIN() 和 UNITY_END() 宏。
相关文档
--------
- `在 VS Code 中使用 Unity 框架进行单元测试 <https://docs.espressif.com/projects/vscode-esp-idf-extension/zh_CN/latest/additionalfeatures/unit-testing.html>`__