Unit tests to validate html?

I’ve recently created a number of unit tests using jwebunit. Jwebunit is a great framework which allows you to easily test your html pages. Does anybody know if there’s a simple way to validate the html pages loaded using jwebunit? I first thought i could use jtidy, but jwebunit doesn’t use jtidy anymore, so i’d have to manually add it. Is jtidy good enough for validating html pages?

blog comments powered by Disqus