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
Consolidated:
passed :12 failed:1
To copy to clipboard, switch view to plain text mode
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
testID:123 //mytext
testDesc:myDesc //mytext
PASS : testDB::testDatabaseOpen() //Qt genereated automatically
To copy to clipboard, switch view to plain text mode
3) I tried qDebug for showing description and test id in test output.
for ex: if I add
qDebug()<<"mydescription";
qDebug()<<"mydescription";
To copy to clipboard, switch view to plain text mode
Im getting
QDebug():mydescription
QDebug():mydescription
To copy to clipboard, switch view to plain text mode
in the debug output .
How to remove the text 'QDebug()' in the debug output?
Thanks in advance,
Bala
Bookmarks