mock library for testing #877
2bndy5
started this conversation in
Show and tell
Replies: 1 comment
-
That's awesome! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I created a new library called CircuitPython-mocks which should allow collecting code coverage (and establishing expected code behavior) during soft-tests of Circuitpython-based projects.
Currently, the
SPI
,I2C
,UART
, andDigitalInOut
classes are mocked (along with some dummy pins in a mockedboard
module). I'm interested in adding mocked PWM functionality, but first I was hoping to see if it is worth my time by gathering community feedback.Beta Was this translation helpful? Give feedback.
All reactions