| | 1 | [[PageOutline]] |
| | 2 | |
| | 3 | = QtWebKit Test Procedures = |
| | 4 | |
| | 5 | '''Work in progress''', any help is very appreciated, see TODO items below. |
| | 6 | |
| | 7 | == Smoke Test (simple, high-level test) == |
| | 8 | |
| | 9 | A smoke test is used to make sure the standard features are working on a particular build of QtWebKit. |
| | 10 | |
| | 11 | === Build tests === |
| | 12 | * Build against current stable Qt |
| | 13 | * Build against the previous stable Qt |
| | 14 | |
| | 15 | === Integration tests === |
| | 16 | * Test Qt demos based on QtWebKit |
| | 17 | * '''TODO''': list of demos, links |
| | 18 | * Test the QML webbrowser demo |
| | 19 | * '''TODO''': links |
| | 20 | |
| | 21 | === QtTestBrowser tests === |
| | 22 | * Load youtube.com and watch a flash video |
| | 23 | * Load a few https sites (e.g.: google account login) |
| | 24 | * Load a few java-script based websites (google maps, gmail, etc) |
| | 25 | * Browse around for a while :-) |
| | 26 | * '''TODO''': list of interesting and complex websites |
| | 27 | |
| | 28 | == Automated tests == |
| | 29 | |
| | 30 | WebKit has thousand of automated tests in place. Below are instructions on how to run them. |
| | 31 | |
| | 32 | === WebKit Layout tests === |
| | 33 | |
| | 34 | * Use the [http://webkit.sed.hu/blog/20101028/qtwebkit-builder-and-tester-virtual-machine QtWebKit Builder and Tester Virtual Machine]. If you prefer to setup your own environment (hint: you probably don't), follow the instructions from QtWebKitContrib#Runningthetests |
| | 35 | |
| | 36 | === QTests === |
| | 37 | * Just run WebKitTools/Scripts/run-qtwebkit-tests to run the tests from {{{WebKit/qt/tests}}} |
| | 38 | |
| | 39 | == Other test resources == |
| | 40 | * Lots of testcases from {{{WebCore/manual-tests/}}} can be run manually inside the QtTestBrowser |
| | 41 | * '''TODO''': links to test websites (javascript, css, html5, etc) |