Can't say I've ever done (or would) do TDD for HTML, but I have made copious use of wget, Watir, and Selenium to do sanity checks.
For example, I use wget to spider a site then check both the Web server and wget logs for signs of trouble (404 or app server messages).
Watir is very handy for making sure things are OK on IE; I've hooked in calls to screenshots so I can crawl a site then look at a gallery of pictures for obvious rendering issues.
For example, I use wget to spider a site then check both the Web server and wget logs for signs of trouble (404 or app server messages).
Watir is very handy for making sure things are OK on IE; I've hooked in calls to screenshots so I can crawl a site then look at a gallery of pictures for obvious rendering issues.