[Meego-qa] MTF unit tests to QA
Miroslav.Safr at tieto.com
Miroslav.Safr at tieto.com
Tue Mar 29 23:40:54 PDT 2011
Hi,
we would need to add our unit and low level funcitonal tests to QA asap:
1st phase (these are really important, you can start with them):
libmeegotouch-tests
meegotouch-demos-tests
2nd phase (these are tested and works ok):
contextkit-tests
libcontentaction-tests
tracker-tests
tumbler-tests
libqtsparql-tests
meegotouch-controlpanel-tests
meegotouch-controlpanelapplets-tests
meegotouch-feedback-tests
meegotouch-feedbackreactionmaps-tests
meegotouch-inputmethodengine-tests
meegotouch-inputmethodframework-tests
meegotouch-inputmethodkeyboard-tests
meegotouchcp-datetime-tests
meegotouchcp-language-tests
meegotouchcp-regionformat-tests
3rd phase (these should work but can be added as last):
meegotouch-benchmarks (comming soon)
libprofile-qt-tests
meegotouch-applauncherd-tests
meegotouch-applifed-tests
meegotouch-compositor-tests
meegotouch-home-tests
meegotouch-systemui-tests
qmf-tests
4th phase:
we have comming T-Driver functional tests soon..
execution:
#we need to interact with X server
export DISPLAY=:0
#we also need dbus
cat /proc/`pidof mcompositor`/environ | tr '\000' '\n' | grep DBUS_SESSION_BUS_ADDRESS
export DBUS_SESSION_BUS_ADDRESS=...
#for VKB tests we need this
export QT_IM_MODULE=MInputContext
#execution
testrunner-lite -f /usr/share/<package name>/tests.xml -v -o /home/meego/test_result.xml
#for example
testrunner-lite -f /usr/share/libmeegotouch-tests/tests.xml -v -o /home/meego/test_result.xml
#here can be also used -L parameter to redirect output stright to host as CITA does
#get the results from device
scp /home/meego/test_result.xml user at 192.168.2.14:/home/user/
#or from host
scp meego at 192.168.2.15:/home/meego/test_result.xml /home/user/
#get nice html
xsltproc /home/msafr/tools/testresults.xsl ./test_result.xml > test_result.html
#for example:
http://af09.nrln.net/qt-mtf/2011_03_17_N900/qtmtf_n900_test_results.xml
http://af09.nrln.net/qt-mtf/2011_03_17_N900/qtmtf_n900_test_results.html
Please let me know if some results are available or if you have some problems with execution.
Thanks.
BR
Miroslav Safr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.meego.com/pipermail/meego-qa/attachments/20110330/6a7206b6/attachment-0001.html>
More information about the MeeGo-qa
mailing list