r106001 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106000‎ | r106001 | r106002 >
Date:10:03, 13 December 2011
Author:gwicke
Status:ok (Comments)
Tags:
Comment:
Update README
Modified paths:
  • /trunk/extensions/VisualEditor/tests/parser/README (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/tests/parser/README
@@ -1,8 +1,10 @@
22 Work in progress. :)
33
4 -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. ;)
 4+Please see https://www.mediawiki.org/wiki/Future/Parser_development for some
 5+information on how to get started with these tests and the curren parser
 6+architecture.
57
6 -Need npm modules:
 8+Needed npm modules:
79 * pegjs
810 * colors
911 * html5
@@ -11,4 +13,26 @@
1214 * diff
1315 * libxmljs (requires native compilation)
1416 * optimist (for argument handling)
15 -* webworker
 17+* webworker (not needed for parserTests)
 18+
 19+== Running parserTests.js ==
 20+
 21+For parserTests, you also need MediaWiki's parser test cases (parserTests.txt)
 22+either in a phase3 checkout parallel to extensions (tried by default). You can
 23+also specify a test case file as an argument.
 24+
 25+Then, in this directory, try:
 26+
 27+node ./parserTests.js
 28+
 29+Several options are available for parserTests:
 30+
 31+node ./parserTests.js --help
 32+
 33+Enjoy!
 34+
 35+== Running roundtrip tests ==
 36+
 37+Round-trip tests are not yet ported to the current parser architecture. The
 38+focus so far has been on parserTests and getting the parser architecture in
 39+shape, but we'll get back to round-trip tests eventually.

Follow-up revisions

RevisionCommit summaryAuthorDate
r106017Follow-up to r106001: Fix typo spotted by Nikerabbit. Good catch!gwicke13:00, 13 December 2011

Comments

#Comment by Nikerabbit (talk | contribs)   12:53, 13 December 2011

Typo: curren

Status & tagging log