unit testing
-
Hi,
I was wondering if anyone has attempted unit testing of their python scripts on the hardware (WiPy)? Is it possible? I imagine running unit tests using a micropython unit test lib(if such a lib even exists) through the REPL from Atom/Vs code.
-
Unit testing on hardware is a little more difficult that pure software because timings can be variable and you need to have real hardware connected. It certainly is possible to create small units of code and have them run and check their results, it's no different to running your full code, just split into smaller chunks and with more checks.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login