HTML, CSS and RSS validity unit-test (java)

When developing standards compliant web sites, it is important to regularly check your mark-up for validity to ensure you are adhering to the choosen doctype. While the W3C provides an excellent online validator for checking documents, it can be cumbersome to regularly perform manual tests with internal, dynamically generated web sites.

Fortunately these tests can easily be automated and thus performed regularly as unit or integration tests using this tiny package of validators. Validators as in plural because in addition to validate *HTML, they also check for CSS and RSS validity.

Before i sat down to write my own set of automated integration tests for just this i thought to myself; ‘someone else must have had this exact problem and solved it’. I put my googles on and found that indeed someone had for dot net.. I needed the same test for a java based project and thus wrote it.

Git my package from http://github.com/jtinfors/w3c-validation-unit-tests/

I love my validator

About jens

handsome
This entry was posted in Uncategorized. Bookmark the permalink.

3 Responses to HTML, CSS and RSS validity unit-test (java)

  1. Pingback: Jens’s Codelog » HTML, CSS and RSS validity unit-test (java) | Blogs about All Online Information for RSS and XML

  2. Christopher Pow says:

    Wow, I did a websearch for “put my googles on” and this was all that came up. I wanted to lay claim to inventing the phrase. Dang. =]

    Sorry for the off-topic response…

  3. jens says:

    Ha! I beat you to it by almost a year then! ;-)

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>