Changes between Version 5 and Version 6 of Writing Reftests
- Timestamp:
- Mar 8, 2011 11:36:35 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Writing Reftests
v5 v6 54 54 55 55 56 == Naming convention ==56 == File naming convention == 57 57 58 58 * (normal) reftests: {testname}.html and {testname}-expected.html … … 68 68 69 69 * Q. If we have hello.html, hello-expected.html and hello-expected-mismatch.html files, what happens? Does that run two reftests? 70 * A. No. That should be considerd a wrong configuration. Please don't use one test file for a (normal) reftest and a 'mismatch' reftest. Please choose the different testname for each test.70 * A. No. That should be considerd a wrong configuration. Don't use one test html file for both a (normal) reftest and a 'mismatch' reftest. Please choose the different file name for each test. 71 71 72 72 * Q. Can we use '-expected.html' and '-expected.{checksum,png}' at the same time for one test file? … … 77 77 If either of two html files crashes, it is considered as 'CRASH'. So does 'TIMEOUT'. 78 78 79 80 81 82 79 == References == 83 80