PDA

View Full Version : Unit tests



leoalvesmachado
13th April 2010, 18:36
Hi everyone

I'm just starting a project that will use Qt (mainly ui, widgets and the webkit package) and I'd like to know what is/are the recommended tools to build Unit tests. It would be nice if it was able to test even the ui code...

Also, I am evaluating the possibility of using TDD (Test driven development (http://en.wikipedia.org/wiki/Test-driven_development)) during my project. What are your opinions about that? Is it possible doing that using Qt? Does anyone have a good/bad experience on that? What unit test development tool should I use if I adopt TDD? I am kind of "afraid" of this approach for my project, since it will have a lot of ui components.

Thanks in advance for any answer.

leoalvesmachado
13th April 2010, 20:50
Doing a quick research, I've found QtUnit: http://www.uwyn.com/projects/qtunit/
Seems to be a good tool, does anyone have any feedbacks? and how about the other questions previously posted?

thanks for any answer