Skip to main content

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

This version

1.4.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest_embedded_wokwi-1.4.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_embedded_wokwi-1.4.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file pytest_embedded_wokwi-1.4.2.tar.gz.

File metadata

  • Download URL: pytest_embedded_wokwi-1.4.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for pytest_embedded_wokwi-1.4.2.tar.gz
Algorithm Hash digest
SHA256 19ef16d494420d5734ee939204371e1c3f02684f14c7193d2325c4bfa72127a9
MD5 34e6b981bd82db8eed368c0c5fa5d120
BLAKE2b-256 56b02273f823e0571ad2188669d99e742f7363754f70f6c7692e6b36e8573eab

See more details on using hashes here.

File details

Details for the file pytest_embedded_wokwi-1.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_embedded_wokwi-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3fb10038a406a35a7ffacf6b9d5be47103e19ed357027b51a6b1443f571db931
MD5 e3937a7db2aa0cc31e573dc17d933804
BLAKE2b-256 d3ebeda6b424437bd83a3028b4a6b0c5eede22a5513f9c2790264fbcf38ba1d5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page