Qt Unit test framework
Unsolved
Mobile and Embedded
-
Hi, We are developing a QT QML project for the Boot2Qt 6.2.1 Toradex Verdin-iMX8MP tool chain and the code will run on a board loaded with embedded linux. Our code has QML based GUI and QT C++ backend to control the embedded peripherals (ADC, DAC, PWM, Motors etc). We need to use QT's unit test framework to test the front end QML GUI and backend QT C++ code. I found there are 2 QT Unit test frameworks 1. QT Test 2. Qt Quick Test. Please suggest which one to use to test the GUI and backend. Please also share some tutorial/blog links to use the framework as I am the beginner.
Thanks,
Anuj -
Qt test is for the C++ part, Qt Quick test is for QML.
You can also use external tools for unit testing (google test, squish).