You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
14 years ago
..
vendor/qunit Upgrade QUnit to the current master (c532d183664118fc2ca1) 14 years ago
README Add command-line runner for the test suite 14 years ago
checks-test.js Upgrade QUnit to the current master (c532d183664118fc2ca1) 14 years ago
compiler-test.js Move test helper into its own file + reorder test file includes 14 years ago
helpers.js Upgrade QUnit to the current master (c532d183664118fc2ca1) 14 years ago
index.html Move test helper into its own file + reorder test file includes 14 years ago
parser-test.js Make sure quoting functions output only ASCII characters 14 years ago
passes-test.js Add compiler passes tests (currently testing the one pass that exists) 14 years ago
run Add command-line runner for the test suite 14 years ago

README

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).