BalaQT
25th May 2011, 15:37
Dear Experts,
Im working in ubuntu , Qt4.7.
Im using the QtTest for testing my application and for automated GUI stimulation.
I have distributed the tests in 3 files. and main() will execute the test.
1)Im getting the summary of the indivdual test script output as bellow ,
test 1:
passed :5 failed:1
test 2:
passed :2 failed:0
test 3:
passed :5 failed:0
Is there any way to accumulate the overall test results in the test output.
for ex;
Consolidated:
passed :12 failed:1
2) Can I add my own texts like test Description , test id in the test output?
testID:123 //mytext
testDesc:myDesc //mytext
PASS : testDB::testDatabaseOpen() //Qt genereated automatically
3) I tried qDebug for showing description and test id in test output.
for ex: if I add
qDebug()<<"mydescription";
Im getting
QDebug():mydescription in the debug output .
How to remove the text 'QDebug()' in the debug output?
Thanks in advance,
Bala
Im working in ubuntu , Qt4.7.
Im using the QtTest for testing my application and for automated GUI stimulation.
I have distributed the tests in 3 files. and main() will execute the test.
1)Im getting the summary of the indivdual test script output as bellow ,
test 1:
passed :5 failed:1
test 2:
passed :2 failed:0
test 3:
passed :5 failed:0
Is there any way to accumulate the overall test results in the test output.
for ex;
Consolidated:
passed :12 failed:1
2) Can I add my own texts like test Description , test id in the test output?
testID:123 //mytext
testDesc:myDesc //mytext
PASS : testDB::testDatabaseOpen() //Qt genereated automatically
3) I tried qDebug for showing description and test id in test output.
for ex: if I add
qDebug()<<"mydescription";
Im getting
QDebug():mydescription in the debug output .
How to remove the text 'QDebug()' in the debug output?
Thanks in advance,
Bala