mediawiki-extensions-Visual.../tests/parser
Gabriel Wicke d3f0196df7 Add primitive HTML comparison to detect passing parser tests. The expected
HTML is parsed using a HTML parser and re-serialized, and the output compared
to the serialization of the new parser's dom. Newline normalization is a
cheap hack for now, need to improve that later.
2011-11-28 11:10:39 +00:00
..
dumpReader.js First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
expansionTest.js First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
parserTests.js Add primitive HTML comparison to detect passing parser tests. The expected 2011-11-28 11:10:39 +00:00
parserTests.pegjs First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
README First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
roundtrip-test.js First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
roundtrip.js First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
tests.html First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
wikia-rte-roundtrip-tests.xml First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
worker.js First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00

Work in progress. :)

Batch-testing tools loading the parsing code into node.js, and going through a MediaWiki XML export dump to run round-trip tests over it. Currently not much will succeed as there's bad handling of newlines. ;)

Need npm modules:
* jquery
* diff
* libxmljs (requires native compilation)
* webworker