Contents:
Tentacle
octoprobe
testbed_micropython
testbed_showcase
Introduction
Installation and Debugging
Tutorial
Write tests
Write pytests
Firmware under test
Debug on level pytest
Debug on level micropython
Debug on level hardware
Debugging tests
Implementation
Octoprobe
testbed_showcase
Tutorial
View page source
Tutorial
Write tests
The bright side of Octoprobe/pytest
The dark side of Octoprobe/pytest
Why should I start with
testbed_showcase
Write pytests
Setup and Teardown
Comments to above sequence diagram
References to to source code
Firmware under test
Download firmware under Test
Build firmware under Test
Debug on level pytest
Best practices for debugging
Debug pytest using the VSCode debugger
Use the VSCode pytest test explorer
Use the VSCode debugger
pytest will NOT enter the debugger, however, VSCode should
Debug on level micropython
Debug on level hardware
Strategy to track down hardware problems
Remove all tentacles which are not invovled
Verify the relays
Verify you python code using Thonny
Start moving micropython code into the test
Debugging tests
Debug on level pytest
Best practices for debugging
Debug pytest using the VSCode debugger
Use the VSCode pytest test explorer
Use the VSCode debugger
pytest will NOT enter the debugger, however, VSCode should
Debug on level micropython
Debug on level hardware
Strategy to track down hardware problems
Remove all tentacles which are not invovled
Verify the relays
Verify you python code using Thonny
Start moving micropython code into the test