PDA

View Full Version : Data driven testing



vishesh
18th December 2008, 05:01
Hi,

I want perform data driven testing.
My flow in test function is like below
testfunction()
{
do something
test with multiple data
do something
test with different mutiple data
do something
test with different mutiple data
}

is it possible?

I checked with manual. Their flow like
testfunction()
{
test multiple data
}

please let me know how to acheieve this?

Thanks in advance.

skrzypu
18th December 2008, 08:22
Better is to make one test in one function. Test Driven is also know as unit test.

In Test function in QT you can do whatever you want. But good is use "book standards".

I hope I help you.

wysota
18th December 2008, 08:41
http://doc.trolltech.com/latest/qtestlib-tutorial2.html