Make pytest-embedded plugin work with the Wokwi CLI.
Project description
pytest-embedded-wokwi
pytest-embedded service for running tests on Wokwi instead of the real target.
Wokwi supports most ESP32 targets, including: esp32, esp32s2, esp32s3, esp32c3, esp32c6, and esp32h2. In addition, it supports a wide range of peripherals, including sensors, displays, motors, and debugging tools.
Running the tests with Wokwi requires an internet connection. Your firmware is uploaded to the Wokwi server for the duration of the simulation, but it is not saved on the server. On-premises Wokwi installations are available for enterprise customers.
Wokwi CLI installation
The Wokwi plugin uses the Wokwi CLI to interact with the wokwi simulation server. You can download the precompiled CLI binaries from the releases page. Alternatively, on Linux or Mac OS, you can install the CLI using the following command:
curl -L https://wokwi.com/ci/install.sh | sh
And on Windows:
iwr https://wokwi.com/ci/install.ps1 -useb | iex
Wokwi API Tokens
Before using this plugin, you need to create a free Wokwi account and generate an API key. You can then set the WOKWI_CLI_TOKEN
environment variable to the API key.
Linux / Mac OS / WSL:
export WOKWI_CLI_TOKEN="your-api-key"
Windows PowerShell:
$env:WOKWI_CLI_TOKEN="your-api-key"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pytest_embedded_wokwi-1.4.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3861c0011c8c0609f9fd4d86ac642f23aa6f12d7394f502cec6f4e65829c141c |
|
MD5 | d8405823bb0aa415908f1ce4f531dfd5 |
|
BLAKE2b-256 | a1511ac23a8267c26e1e3581293d76eb09396bcbe0c704d00e1d230e12d74808 |
Hashes for pytest_embedded_wokwi-1.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56e0a284839b648f030b58979d8ba66a153f6f4a3db347b2500a85f4349137c7 |
|
MD5 | b626099c9429bc8366f2fbe06ef52d90 |
|
BLAKE2b-256 | fdf151d3ea814934b79fa553cedd284408b9d0036e42923de8e9c04d00915ebc |