Results 1 to 6 of 6

Thread: Test suite for Qt api

  1. #1
    Join Date
    Sep 2009
    Posts
    3
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Question Test suite for Qt api

    Hi, I'm doing a research work about testing object libraries. I couldn't find any tests for qt api functions, I know there is a unit testing tool qtestlib for testing applications written with qt. I need to know how was qt tested, I assume that it hasn't been tested with qtestlib.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Test suite for Qt api

    It's being tested with qtestlib (that's what it was written for in the first place) and Valgrind. Probably also by Squish and/or KD Executor, but I'm not sure of that.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Sep 2009
    Posts
    3
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Test suite for Qt api

    Thank you for reply, do you know where can I get those test suites? It seems that they don't provide, tests for their library. Many libraries have their tests in source code, like gcc or OpenGL(mesa).

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Test suite for Qt api

    Quote Originally Posted by r1z0r View Post
    Thank you for reply, do you know where can I get those test suites?
    You can't. Unless you manage to convince QtSoftware to give some of them to you.

    It seems that they don't provide, tests for their library. Many libraries have their tests in source code, like gcc or OpenGL(mesa).
    They test it, isn't that enough?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Sep 2009
    Posts
    3
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Test suite for Qt api

    Quote Originally Posted by wysota View Post
    You can't. Unless you manage to convince QtSoftware to give some of them to you.
    Ok, I'll try.

    Quote Originally Posted by wysota View Post
    They test it, isn't that enough?
    Of course it's enough, but for my work it's not enough, because I don't know how much of code is covered, how much of code was written and etc., all I know now is that unit testing was used. I'll try to contact developers and ask them, or investigate other object oriented libraries. Thanks for replies

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Test suite for Qt api

    Try contacting a guy called Harald Fernengel, he's the one who created Qt TestLib in the first place. Also the current release manager (AFAIK it's still Thiago Macieira) can help you.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. The following user says thank you to wysota for this useful post:

    r1z0r (9th September 2009)

Similar Threads

  1. How do you run multiple test classes?
    By jeffadams78 in forum Qt Programming
    Replies: 3
    Last Post: 2nd April 2009, 18:39
  2. A.I. test. A.I. test.
    By Kumosan in forum General Discussion
    Replies: 3
    Last Post: 19th October 2007, 19:19
  3. Replies: 15
    Last Post: 17th June 2007, 17:41
  4. GUI version of test runner
    By Intaek Lim in forum Qt Programming
    Replies: 1
    Last Post: 17th April 2007, 10:21
  5. How to unit test a Qt Gui
    By mitskits in forum Qt Programming
    Replies: 1
    Last Post: 20th January 2006, 07:36

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