pegjs/test
David Majda afcceb127f Add command-line runner for the test suite
The output format and code is heavily inspired by Nodeunit and code in
QUnit's "cli" branch.
2011-01-25 16:59:32 +01:00
..
vendor/qunit Upgrade QUnit to the current master (c532d183664118fc2ca1) 2011-01-25 14:54:38 +01:00
checks-test.js Upgrade QUnit to the current master (c532d183664118fc2ca1) 2011-01-25 14:54:38 +01:00
compiler-test.js Move test helper into its own file + reorder test file includes 2010-08-21 15:34:56 +02:00
helpers.js Upgrade QUnit to the current master (c532d183664118fc2ca1) 2011-01-25 14:54:38 +01: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 Make sure quoting functions output only ASCII characters 2010-11-20 16:58:47 +01:00
passes-test.js Add compiler passes tests (currently testing the one pass that exists) 2010-08-21 14:36:44 +02:00
README Add command-line runner for the test suite 2011-01-25 16:59:32 +01:00
run Add command-line runner for the test suite 2011-01-25 16:59:32 +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).