Results 1 to 3 of 3

Thread: unit test cases

  1. #1
    Join Date
    Nov 2013
    Posts
    10
    Thanks
    8
    Platforms
    MacOS X Unix/X11 Windows Android

    Default unit test cases

    Hi All,

    I have to write unit test cases for few c++ classes in Qt IDE and needs to execute by another program/script.

    Can some body point me to how to write unit test cases in qt better way? I would like to use Qt libraries for unit test cases.

    Thanks.
    av

  2. #2
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: unit test cases

    Maybe QTestLib ?

  3. The following user says thank you to stampede for this useful post:

    av2306 (19th November 2013)

  4. #3
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: unit test cases

    Qt creator even has a project type for QTestLib based unittests.

    Cheers,
    _

  5. The following user says thank you to anda_skoa for this useful post:

    av2306 (19th November 2013)

Similar Threads

  1. Unit Test: Test if QPushButton has a menu
    By FelixB in forum Qt Programming
    Replies: 1
    Last Post: 7th November 2012, 12:12
  2. debugging a unit test
    By Martin Drozdik in forum Newbie
    Replies: 4
    Last Post: 1st June 2012, 01:38
  3. Problem with Qt Unit Test
    By rubikon in forum Qt Programming
    Replies: 3
    Last Post: 25th November 2011, 09:18
  4. Unit test coverage
    By leoalvesmachado in forum Newbie
    Replies: 3
    Last Post: 16th April 2010, 13:48
  5. How to unit test a Qt Gui
    By mitskits in forum Qt Programming
    Replies: 1
    Last Post: 20th January 2006, 07:36

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.