PDA

View Full Version : testing and testcases



sreedhar
6th June 2006, 13:47
hi,
I need some suggestions on how to test the code written in QT4.1.2 without user interaction.

Can we write some automatic test scripts that can be run without user interaction for the code written in QT, i.e, gui testing without user interaction. I already use asserts in my code.
I want to maintain the consistency of the code written by me.

I never wrote some testcases for gui.

Any kind of suggestions are invited

Thankig you,

regards,
sree

wysota
6th June 2006, 14:46
http://doc.trolltech.com/4.1/qtestlib-manual.html
http://doc.trolltech.com/qq/qq16-testing.html

sreedhar
7th June 2006, 14:18
hi,
Thanks for thje reply.
Is there any free ware third party tool for testing QT

regards

wysota
7th June 2006, 16:26
You can probably force expect to use some application for sending Xserver events to your app. But what's wrong with QtTestlib?