Results 1 to 2 of 2

Thread: [UT coverage] How can the industry improve QT code coverage

  1. #1
    Join Date
    Apr 2025
    Posts
    1
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Question [UT coverage] How can the industry improve QT code coverage

    Hello everyone, I am a C++ QT application engineer in the industry.

    After nearly 10 years of iteration, our products are facing the problem of lower and lower code Unit test coverage. Low code coverage is very detrimental to code quality and product quality.

    So we have been looking for ways to improve QT code unit test coverage or some guiding principles.

    I would like to ask industry experts if they can provide some experience to guide us to improve QT unit test coverage?


    Thank you so much.

  2. #2
    Join Date
    Apr 2025
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: [UT coverage] How can the industry improve QT code coverage

    A useful approach is to set coverage metrics as test criteria before merging code, and use mocking to isolate tests. QT testing can be complex, but with the right approach, efficiency comes.

    **Moderator note: Spam URL removed. There is zero tolerance for spamming on this forum. Next time, your posts will be deleted and you will be banned.**
    Last edited by d_stranz; 24th April 2025 at 16:15. Reason: removed URL

Similar Threads

  1. Replies: 0
    Last Post: 18th February 2015, 04:39
  2. Replies: 0
    Last Post: 19th August 2014, 17:43
  3. Replies: 0
    Last Post: 17th July 2014, 22:10

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.