It’s just data

Ruby HTML5 Parser Tests Pass

Thanks go out to Tim Fletcher for fixing the remaining html5lib unit test bugs.  Following is the current output from the Python tests followed by the Ruby tests.

$ sh runtests.sh 
Testing trees simpletree cElementTree ElementTree lxml DOM
................................................................................
................................................................................
................................................................................
................................................................................
.........................................
----------------------------------------------------------------------
Ran 361 tests in 2.468s

OK
Testing trees rexml simpletree
Loaded suite runtests
Started
................................................................................
................................................................................
................................................................................
................................................................................
................
Finished in 1.568004 seconds.

336 tests, 529 assertions, 0 failures, 0 errors

What does this mean?  Essentially it means that the Ruby implementation is approaching functional parity with the Python implementation, where the accuracy of the preceding statement is a function by the unit test code coverage.


May 20th

Comparison code . PATCH . CS OMG WTF? Two things that come in handy when converting a Safari bookmarks file to HTML on Windows: Mark Liyanage’s XSL stylesheet Microsoft’s command line XSL processor Ruby HTML5 Parser Tests Pass ....

Excerpt from timcraft at

Add your comment