Guidelines and tips for writing unit tests - theolind/mahm3lib GitHub Wiki
This document shall have a main focus on software-based unit testing. Suggestions on hardware testing is allowed, but they must be explicitly specified to avoid confusion with software testing.
This is only a first draft of this document. Please contribute if you think something's missing.
- Make sure pin has low level (read register)
- Use API to set pin to high level
- Make sure pin has high level (read register)
Additional hardware testing: Measure pin levels with a multimeter or LED.