Changes between Version 8 and Version 9 of Writing Reftests
- Timestamp:
- Mar 29, 2011 1:35:02 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Writing Reftests
v8 v9 1 1 = Writing Reftests = 2 3 Reftest is not supported yet in WebKit. Don't check in any reftests until an announcement comes.4 Please see https://bugs.webkit.org/show_bug.cgi?id=36065 for the current status.5 2 6 3 == Disclaimer == 7 4 8 Currently, reftests are run on only platforms that use new-run-webkit-tests by default. 9 Please be aware this limitation when you decide to write new tests using reftest. 5 Currently, reftests run only with new-run-webkit-tests. That means a patch that is only tested with reftests might not be allowed to be checked in. Anyone not working in the chromium port will not run the reftests and can not notice regressions. Please be aware this limitation and use reftests carefully at your responsibility until reftests are available on all platforms. 10 6 11 See https://bugs.webkit.org/show_bug.cgi?id=34984 for the current status. 7 There are on-going efforts that try to run new-run-webkit-tests on all platforms. 8 https://bugs.webkit.org/show_bug.cgi?id=34984 12 9 13 10 == Reftests in WebKit == … … 34 31 If there is a difference between the rendering results of two html files, the test fails. 35 32 36 37 Screenshot: Todo38 39 40 33 There is yet another type of reftests, 'a mismatch reftest'. 41 34 … … 56 49 57 50 In this case, the test fails if both produces the same results. The test passes if there is any differences between them. 58 59 60 Screenshot: Todo61 51 62 52 … … 86 76 == References == 87 77 78 * https://bugs.webkit.org/show_bug.cgi?id=36065 for the current status. 88 79 * https://developer.mozilla.org/en/Creating_reftest-based_unit_tests 89 80 * http://mxr.mozilla.org/mozilla-central/source/layout/tools/reftest/README.txt