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?
22 Jan 2004 |
January 23rd, 2004 at 6:45 pm
Tidy’s better than nothing, but the best way is to use XHTML so you can use an XML validator.
December 16th, 2005 at 9:52 am
jWebUnit is easy to use,but doesn’t have documents to learn it properly. It just gives a vage idea. No idea how it works for drop down menu,button,etc.