Results 1 to 2 of 2

Thread: GUI runner of QTestLib

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Posts
    128
    Thanked 28 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: GUI runner of QTestLib

    What you could do is use QXmlStreamReader from the not yet released 4.3. It allows you to read XML data in a stream based way, meaning you can start to parse the data before the document is finished, i.e. updating on the fly. (See Incremental parsing)

    On a different note:
    I am not sure if your approach to run the tests in process is the ideal solution - tests can crash, and sometimes tests need application objects themselves. I am not sure that having two QApplication objects in an app works. Why don't you try launching the test using QProcess and processing the output of it using QXmlStreamReader?

  2. The following user says thank you to camel for this useful post:

    Intaek Lim (25th April 2007)

Similar Threads

  1. GUI Test Runner for CppUnit
    By 3dch in forum Qt-based Software
    Replies: 4
    Last Post: 20th September 2011, 12:28
  2. GUI version of test runner
    By Intaek Lim in forum Qt Programming
    Replies: 1
    Last Post: 17th April 2007, 10:21

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.