PDA

View Full Version : How to do Unit testing



Qt_Kid
9th March 2011, 04:44
Hi All,

My question may look very silly to all the expert, but if u will look in a beginner's view then this will be how difficulty to do this task . :)
Can any body please guide me how to do unit testing? I've create a sample application. I've a push button in my main window, on pressing which , a new dialog is appearing, which has 2 line edit and a OK button.

How to perform unit test on this?

Thank yo all.

wariola
29th March 2011, 22:06
Look at Parasoft Test. It is a full range of capabilities for Qt users and is has specialized configurations for your particular needs or industry.


http://www.parasoft.com/jsp/capabili...c_analysis.jsp

or look at

http://www.parasoft.com/jsp/resources/cpp

AlexSudnik
29th March 2011, 23:06
Take a look at the Qt Assistant --> Modules --> QTest. Examples provided...

wysota
30th March 2011, 00:34
Look at Parasoft Test. It is a full range of capabilities for Qt users and is has specialized configurations for your particular needs or industry.


http://www.parasoft.com/jsp/capabili...c_analysis.jsp

or look at

http://www.parasoft.com/jsp/resources/cpp

Please, if you have to advertise your product, at least provide some meaningful information apart the ad. I doubt that unit-testing a button justifies buying some commercial testing platform that's probably insanely expensive. If you don't comply to my request, I will treat you as a spammer and you'll be banned off the site.

ChrisW67
30th March 2011, 00:49
It is also not a good omen when your first advertising link gives a 404 error page. Tested your own site?