Closed Bug 228734 Opened 21 years ago Closed 19 years ago

HTML Validation Tests

Categories

(Bugzilla :: Testing Suite, enhancement)

enhancement
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 148487

People

(Reporter: CodeMachine, Assigned: zach)

Details

It would be good to have tests that checked that Bugzilla output properly HTML validates. justdave says gmuck might be the utility we would use. Presumably validating templates directly would be difficult to impossible, and validating templates with empty input wouldn't handle all possible outputs, so manually instantiating the templates with specific data input that achieved full coverage would probably be the way to go. One issue is whether to require test suite users to install the validation software. This might be too much to ask, so it might just pass the tests if the software isn't installed. We could maybe add a switch to the test suite that required all dependencies be present and fail otherwise. I doubt this will be the last case where the test suite will require some external software. Another issue is how to run a separate executable to do the validation. We could add the absolute path to localconfig, but it seems a little strange to me to be doing that for the testing suite. Also, this has problems under ActiveState so it should probably just pass there, unless we have no intention of letting the Win32 people check their work. We could also think about validating CSS, JS and XML.
*** This bug has been marked as a duplicate of 148487 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.