intertwingly

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.