0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Assertions to validate an html document
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

 Project Readme

Assertions to validate a local html document without using external services like http://validator.w3.org/

It currently validates HTML 5 and XHTML 1.0 transitional.

Example:

def test_validation
    require 'open-uri'
    page = open('http://en.wikipedia.org/wiki/Main_Page').read
    assert_is_xhtml_trans_valid page
end