Skip to content

Run E2E tests with MicroDot and playwright, for end user testing on eg Raspberry Pico.

Notifications You must be signed in to change notification settings

maxi07/microdot-playwright-pytest

Repository files navigation

Microdot Playwright End-To-End (E2E) Tests

With the amazing Microdot project, I wrote a sample project on how to have End-To-End Tests for MicroDot projects. In my case, I use Microdot on a Raspberry Pico W and always wanted to have automated testig for CI. This project uses Playwright and Pytest for automated UI testing.

Requirements

Run the following two commands:

pip install -r requirements.txt
playwright install

Run the test locally

You can run the tests locally, for testing without a Raspberry Pico. After installing the requirements, run

pytest test_server.py

About

Run E2E tests with MicroDot and playwright, for end user testing on eg Raspberry Pico.

Topics

Resources

Stars

Watchers

Forks

Languages