diff --git a/docs/en/api-guides/unit-tests.rst b/docs/en/api-guides/unit-tests.rst index 83ada64a01..b49384ecfe 100644 --- a/docs/en/api-guides/unit-tests.rst +++ b/docs/en/api-guides/unit-tests.rst @@ -249,6 +249,13 @@ Similar to multi-device test cases, multi-stage test cases will also print sub-m First time you execute this case, input ``1`` to run first stage (trigger deepsleep). After DUT is rebooted and able to run test cases, select this case again and input ``2`` to run the second stage. The case only passes if the last stage passes and all previous stages trigger reset. +Project Structure and Automated Workflows +----------------------------------------- + +A good starting point on how to structure and test an application is the `Github ESP Test Template `_ project. It shows how to set up and run tests both in simulation and on real hardware, using GitHub CI workflows. + +For more complex projects, tests would typically be split into several test-apps, testing each component separately. In these cases, you can use the tool `IDF Build Apps `_ to automate finding and building all test-apps in your project. + .. _cache-compensated-timer: