Running the test harness on the target will not be any different than running any other MicroPython script. Copy main.py, test_harness, and the test scripts to the pyboard. From the terminal, you can use Ctrl + C to terminate any application that is already running. Then, use Ctrl + D to cause a soft reset to occur on the pyboard. At this point, you should see an output from the test harness similar to the following:
From the preceding output, we can see that the script has been started and that testing has begun. We can see our test setup operation followed by the execution and reporting operations. We can also see that the first three tests pass successfully but that our final test, the LSB I/O – Low test, fails. From the test report, it looks like the I/O stayed at the high state rather than toggling low.
There are several potential causes for...