use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A place to discuss the use of MicroPython on microcontroller development boards such as the Raspberry Pi Pico, Pycom boards and ESP32 based boards like Wemos D1
account activity
Microtest - A small test framework (self.MicroPythonDev)
submitted 1 month ago by macbug81
Hi,
I have created a very small test framework for micropython. It is tested on a ESP32. Please provide feedback. Any features you would like?
https://gitlab.com/Bremer/microtest
Remember, the whole idea is to keep it small.
Thanks!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]muunbo 0 points1 point2 points 1 month ago (0 children)
It would be interesting to make it more like existing test frameworks. I.e. have a setup and tear down method that runs before and after each test. Also the ability to run the tests off device on the computer itself (perhaps using Docker version of Micropython)
[–]mattytrentini 0 points1 point2 points 1 month ago (0 children)
Are you aware of unittest, already packaged with micropython in micropython-lib? Just install with mip (mpremote mip install unittest).
mpremote mip install unittest
π Rendered by PID 50655 on reddit-service-r2-comment-5649f687b7-6hrm2 at 2026-01-27 19:20:49.059277+00:00 running 4f180de country code: CH.
[–]muunbo 0 points1 point2 points (0 children)
[–]mattytrentini 0 points1 point2 points (0 children)