Changes between Version 8 and Version 9 of Writing Reftests


Ignore:
Timestamp:
Mar 29, 2011 1:35:02 AM (13 years ago)
Author:
hayato@chromium.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Writing Reftests

    v8 v9  
    11= 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.
    52
    63== Disclaimer ==
    74
    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.
     5Currently, 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.
    106
    11 See https://bugs.webkit.org/show_bug.cgi?id=34984 for the current status.
     7There are on-going efforts that try to run new-run-webkit-tests on all platforms.
     8https://bugs.webkit.org/show_bug.cgi?id=34984
    129
    1310== Reftests in WebKit ==
     
    3431If there is a difference between the rendering results of two html files, the test fails.
    3532
    36 
    37 Screenshot: Todo
    38 
    39 
    4033There is yet another type of reftests, 'a mismatch reftest'.
    4134
     
    5649
    5750In 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: Todo
    6151
    6252
     
    8676== References ==
    8777
     78  * https://bugs.webkit.org/show_bug.cgi?id=36065 for the current status.
    8879  * https://developer.mozilla.org/en/Creating_reftest-based_unit_tests
    8980  * http://mxr.mozilla.org/mozilla-central/source/layout/tools/reftest/README.txt