codahale.com٭blog

Coda Hale lives in Berkeley, CA, where he writes about Ruby on Rails, usability, web design and development, and the occasional bit about bicycles.

ResponsibleMarkup v0.1: Unit Test Your Way To Responsible Markup

I’m proud to announce a new Rails plugin: ResponsibleMarkup. It allows you to write functional tests for your Rails application which test for things like:

  • (X)HTML markup validity
  • Backwards-compatible empty HTML elements
  • Well-formed doctypes
  • Unobtrusive Javascript
  • Well-formed XML prologs
  • Separation of display and structure in your markup

You can check out the documentation or go ahead and install it:


./script/plugin install http://svn.codahale.com/responsible_markup/trunk

Or, if your application is source-controlled via Subversion:


./script/plugin install -x http://svn.codahale.com/responsible_markup/trunk
6 comments »