lvgl / lv_binding_micropython

LVGL binding for MicroPython
MIT License
237 stars 156 forks source link

Updates testing system #305

Closed kdschlosser closed 5 months ago

kdschlosser commented 6 months ago

I have created a framework to run tests on the binding. The framework makes it really easy to add tests do to not needing any knowledge of the unittests framework. How the system works is I am leveraging the input and output buffers for a subprocess that is running the binding. The test framework is able to handle simple data checks as well as frame buffer captures.

There is a readme file in the tests folder that goes over how to add tests.