Skip to content

Latest commit

 

History

History
 
 

test

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Peggy Test Suite

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

Running in Node.js

All commands in the following steps need to be executed in Peggy root directory (one level up from this one).

  1. Install all Peggy dependencies, including development ones:

    $ npm install
  2. Execute the test suite:

    $ npm test
  3. Watch the tests pass (or fail).

Running in the Browser

All commands in the following steps need to be executed in Peggy root directory (one level up from this one).

  1. Make sure you have Node.js installed.

  2. Install all Peggy dependencies, including development ones:

    $ npm install
  3. Serve the test suite using a web server:

    $ test/server
  4. Point your browser to the test suite.

  5. Watch the tests pass (or fail).