pegjs/test
2011-08-21 15:04:56 +02:00
..
vendor/qunit Upgrade QUnit to the current master (c532d183664118fc2ca1) 2011-01-25 14:54:38 +01:00
checks-test.js Do not pass |global| into wrapping functions in tests, it's useless 2011-02-13 12:22:56 +01:00
compiler-test.js Reset parser position when action returns |null| 2011-08-20 17:59:12 +02:00
helpers.js Add ability to start parsing from any grammar rule 2011-03-29 15:40:34 +02:00
index.html Move test helper into its own file + reorder test file includes 2010-08-21 15:34:56 +02:00
parser-test.js Remove trailing comma in parser tests (IE compatibility) 2011-08-21 15:04:56 +02:00
passes-test.js Do not pass |global| into wrapping functions in tests, it's useless 2011-02-13 12:22:56 +01:00
README Add command-line runner for the test suite 2011-01-25 16:59:32 +01:00
run Test and benchmark command-line runners can be run from any directory 2011-01-26 16:08:03 +01:00

PEG.js Test Suite
=================

This is the PEG.js test suite. It ensures PEG.js works correctly. All tests
should always pass on all supported platforms.

Running in a browser
--------------------

  1. Open the index.html file in your browser.

  2. Watch the test pass (or fail).

Running from a command-line
---------------------------

  1. Make sure you have Node.js installed.

  2. Run the following command:

       ./run

  3. Watch the tests pass (or fail).