The bulk of the test harness that we will be constructing is going to be software. The modules that we are going to build the test harness for are the modules that we created in Chapter 3, Writing a MicroPython Driver for an I/O Expander. We could build a harness that not only includes low-level module testing but also the high-level system behavior; however, I want to convey how we can create a test harness. I will leave the high-level application testing to you as an exercise. The modules that we will be testing are as follows:
- PCA8574.py
- LED_RGB.py
- Button_rgb.py
Let's get started!