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
The tests are design to be run on a Raspberry Pi Pico.
5
+
6
+
Setup
7
+
-----
8
+
9
+
1. Install the `picozero <https://pypi.org/project/picozero/>`_ package.
10
+
11
+
2. Install the `micropython-unittest <https://pypi.org/project/micropython-unittest/>`_ package.
12
+
13
+
3. Copy the ``test_picozero.py`` to the pico.
14
+
15
+
4. Run the ``test_picozero.py`` file.
16
+
17
+
Error messsages
18
+
---------------
19
+
20
+
If a test fails it is helpful to be able to see verbose error messages. To see error messages you need to modify the ``lib/unittest.py`` file on the pico.
21
+
22
+
Locate the following code in the ``run_class`` function::
0 commit comments