mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
Merge branch 'docs/update_unit_test' into 'master'
docs: Add related documentation for unit test Closes DOC-13841 See merge request espressif/esp-idf!46394
This commit is contained in:
@@ -369,3 +369,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>`__
|
||||
|
||||
@@ -369,3 +369,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>`__
|
||||
|
||||
Reference in New Issue
Block a user