Important: Please read the Qt Code of Conduct -

Auto test example?

  • I'd really like to start writing some tests, and I understand this just isn't as easy as it is with Objective-C, Java, Python, Ruby, etc., etc. But the only think I can find about testing with Qt shows how to test QString. Which I'm not interested in doing. And this information't isn't transferable to testing my code.

    Can anyone point me at an real example (that needs to set up the project to link to the application, etcetera) or actually project that uses Qt tests? I'd appreciate it.


  • Lifetime Qt Champion


    You can take a look at Qt's own sources where you have tones of unit tests for all parts of Qt.

Log in to reply