mediawiki-extensions-Visual.../tests/parser
Gabriel Wicke 33e19f7275 Recognize block-level elements independent of case; Ignore toc and section
edit links in tests. 148 parser tests passing.
2011-12-05 20:03:24 +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-whitelist.js Improve external links and definition lists, now 133 tests passing ;) 2011-12-01 14:25:59 +00:00
parserTests.js Recognize block-level elements independent of case; Ignore toc and section 2011-12-05 20:03:24 +00:00
parserTests.pegjs First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
README Use pegjs from npm 2011-12-01 15:23:23 +00:00
roundtrip-test.js Use pegjs from npm 2011-12-01 15:23:23 +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:
* pegjs
* colors
* html5
* jquery
* jsdom
* diff
* libxmljs (requires native compilation)
* optimist (for argument handling)
* webworker