I don't know about anybody else but I've always hated the assert_tag function that comes with Rails - I've always found it really clunky.

Anyway, whytheluckystiff released a great little HTML parser called Hpricot the other day and I've written a small Rails Test::Unit extension that lets you test your view using Hpricot.

All the details:
http://www.lukeredpath.co.uk/index.p...-with-hpricot/