You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrate to wokwi-py-client (update pytest-embedded and esptool) (espressif#11863)
* change(requirements): Update pytest-embedded packages to version 2.0.0a1 and esptool to 5.1.0
* change(workflow): Remove extra index URL from pip install command in Wokwi tests - for testing
* change(tests): Simplify Wokwi test script arguments and remove timeout variable
* change(requirements): Update pytest-embedded packages to version 2.0.0
* Revert "change(workflow): Remove extra index URL from pip install command in Wokwi tests - for testing"
This reverts commit 349922c.
Copy file name to clipboardExpand all lines: docs/en/contributing.rst
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -365,15 +365,15 @@ After the test is finished, you can check the output in the terminal and the gen
365
365
Additionally, for performance tests, you can check the generated JSON file in the same folder.
366
366
367
367
You can also run the tests in `Wokwi <https://docs.wokwi.com/>`_ or `Espressif's QEMU <https://github.com/espressif/esp-toolchain-docs/tree/main/qemu>`_
368
-
by using the ``-W <timeout_in_ms>`` and ``-Q`` flags respectively. You will need to have the Wokwi and/or QEMU installed in your system
368
+
by using the ``-W`` and ``-Q`` flags respectively. You will need to have the Wokwi and/or QEMU installed in your system
369
369
and set the ``WOKWI_CLI_TOKEN`` and/or ``QEMU_PATH`` environment variables. The ``WOKWI_CLI_TOKEN`` is the CI token that can be obtained from the
370
370
`Wokwi website <https://wokwi.com/dashboard/ci>`_ and the ``QEMU_PATH`` is the path to the QEMU binary.
371
371
372
372
For example, to run the ``uart`` test using Wokwi, you would run:
And to run the ``uart`` test using QEMU, you would run:
379
379
@@ -398,7 +398,6 @@ A test suite contains the following files:
398
398
* ``<test_name>.ino``: The sketch that will be tested. Required.
399
399
* ``ci.json``: The file that specifies how the test suite will be run in the CI system. Optional.
400
400
* ``diagram.<target>.json``: The diagram file that specifies the connections between the components in Wokwi. Optional.
401
-
* ``scenario.yaml``: The scenario file that specifies how Wokwi will interact with the components. Optional.
402
401
* Any other files that are needed for the test suite.
403
402
404
403
You can read more about the test python API in the `pytest-embedded documentation <https://docs.espressif.com/projects/pytest-embedded/en/latest/usages/expecting.html>`_.
0 commit comments