node/deps/v8/test/promises-aplus
Fedor Indutny 6bcea4ff93 deps: update v8 to 3.29.93.1 2014-10-10 14:49:02 +04:00
..
lib deps: upgrade v8 to 3.25.30 2014-04-02 00:05:24 +04:00
README deps: upgrade v8 to 3.25.30 2014-04-02 00:05:24 +04:00
promises-aplus.status deps: update v8 to 3.29.93.1 2014-10-10 14:49:02 +04:00
testcfg.py deps: update v8 to 3.28.73 2014-10-08 15:35:57 +04:00

README

This directory contains code for running Promise/A+ Compliance Test Suite[1].
You can download the it from [1], or by specifying --download to
tools/run-tests.py.
Promise/A+ Compliance Test Suite requires Node environment and needs some
libraries. To run it in d8 shell, we provides some emulation functions in the
lib/ directory.

 - lib/adapter.js
  - An adapter for harmony Promise used in Promise/A+ tests.
 - lib/assert.js
  - Emulates assert modules in Node.
 - lib/global.js
  - Provides global functions and variables.
 - lib/mocha.js
  - Emulates Mocha[2] test framework.
 - lib/require.j
  - Emulate require function in Node.
 - lib/run-tests.js
  - Run all describe tests.

The emulation is not complete. Upgrading Promise/A+ tests will require
changing lib/ scripts.

Sinon.JS[3], required by Promise/A+ tests, is also downloaded by run-tests.py.

[1]: https://github.com/promises-aplus/promises-tests
[2]: http://visionmedia.github.io/mocha/
[3]: http://sinonjs.org/