Pagetests should validate XHTML output

Bug #28842 reported by Matthew Paul Thomas
6
Affects Status Importance Assigned to Milestone
Launchpad itself
Won't Fix
Medium
Unassigned

Bug Description

As suggested by Andrew Bennetts: "I wonder if ... every time a page test generates a page with a Content-Type of HTML or XHTML, it also validates it. It could initially emit a warning for invalid HTML, and later (once we've fixed all our pages) we could make it raise an exception and thus fail tests for us. This way good page testing will also ensure good HTML validity testing."

See also bug 487, for doing validation on production.

Changed in launchpad:
assignee: nobody → jamesh
Dafydd Harries (daf)
Changed in launchpad:
status: Unconfirmed → Confirmed
Dafydd Harries (daf)
Changed in launchpad:
assignee: jamesh → launchpad-infrastructure
description: updated
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

This should probably not be the default behaviour. No points in making our test suite slower than it already is.

Revision history for this message
Francis J. Lacoste (flacoste) wrote :

I think the solution proposed in bug 487 is better in that regard.

Changed in launchpad:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.