Skip to main content
This topic has been closed for replies.
Best answer by Romain DIELEMAN

Reply from a colleague :grinning_face_with_sweat::

"I would use the STM32CubeProgrammer API to download the framebuffer from the device and then use Squish to do golden image comparisons.

To test actions like buttons presses etc, I'd just use Squish in combination with our simulator executable"

/Romain

6 replies

Romain DIELEMAN
ST Employee
September 20, 2021

None that I am aware of, we made one ourselves with Jenkins, and yepkit usb hubs to handle multiple boards. If other people made automated test using something else please share.

/Romain

SGasp.1
SGasp.1Author
Associate III
September 20, 2021

Thanks Romain... Very Interesting ..Can I have an idea about how you used Jenkins for doing that?

It would be nice having an idea of architecture and tools..

Or maybe can you share a link or resource with examples?

Thanks a lot in advance

Romain DIELEMAN
Romain DIELEMANBest answer
ST Employee
September 21, 2021

Reply from a colleague :grinning_face_with_sweat::

"I would use the STM32CubeProgrammer API to download the framebuffer from the device and then use Squish to do golden image comparisons.

To test actions like buttons presses etc, I'd just use Squish in combination with our simulator executable"

/Romain

SGasp.1
SGasp.1Author
Associate III
September 21, 2021

Romain thanks to you and also at your colleague..

So basically with the STM32CubeProgrammer API we can download the current framebuffer from the the device (I guess to develop a brand new software calling the api and somehow to trigger the download in a certain moment).. Once we have the framebuffer we upload on Squish and we make the comparison with the expected output (Is it correct?)

For using Squish with your simulator executanle what do you mean?

Thanks a lot again

Explorer II
October 25, 2023

Hi STM Community,

Please give some examples or GitHub link related to STM Programmer API and how image comparison is done using Squish library. I found the information related to STM cube programmer API (STM CLI tool). How you know what data is in framebuffer. Is tester need to know expected framebuffer? based on event (interrupt) . Please give guidance on this .