LVGL Test Automation

What are compatible LVGL Test Automation framework?.
I have LVGL application. I don’t want to check each feature manually, are there any python library or anything to fully test LVGL Application?

Note: I want test automation to be separate executable. Test Automation much use application .exe file and perform test case execution.
Is there any way to do it?

Monkey — LVGL documentation
maybe you can use this function.

I assume Monkey testing technique is used for Stress testing. my expectation is to automate steps in LVGL

On the LVGL email Newsletter from March 7 they announced UI Testing Tools. Here’s the link for documentation:

https://docs.lvgl.io/master/details/auxiliary-modules/test.html

From the Newletter:

“Testing user interfaces just got easier! LVGL now includes built-in tools for display emulation, input simulation, screenshot comparison, and more—no need for an external setup.

You can now:
:white_check_mark: Create a virtual display for testing
:white_check_mark: Simulate clicks, button presses, and other interactions
:white_check_mark: Compare screenshots to detect UI changes
:white_check_mark: Measure memory usage and retrieve widget properties

These tools are completely flexible and work with any testing framework—you decide how to integrate them into your workflow!

Best of all, they’re open-source, MIT-licensed, and built directly into LVGL.”

1 Like