• Home
  • History
  • Annotate
  • only in /external/chromium_org/v8/test/promises-aplus/
NameDateSize

..12-Mar-20154 KiB

lib/12-Mar-20154 KiB

promises-aplus.status12-Mar-20151.6 KiB

README12-Mar-2015981

testcfg.py12-Mar-20155.4 KiB

README

1This directory contains code for running Promise/A+ Compliance Test Suite[1].
2You can download the it from [1], or by specifying --download to
3tools/run-tests.py.
4Promise/A+ Compliance Test Suite requires Node environment and needs some
5libraries. To run it in d8 shell, we provides some emulation functions in the
6lib/ directory.
7
8 - lib/adapter.js
9  - An adapter for harmony Promise used in Promise/A+ tests.
10 - lib/assert.js
11  - Emulates assert modules in Node.
12 - lib/global.js
13  - Provides global functions and variables.
14 - lib/mocha.js
15  - Emulates Mocha[2] test framework.
16 - lib/require.j
17  - Emulate require function in Node.
18 - lib/run-tests.js
19  - Run all describe tests.
20
21The emulation is not complete. Upgrading Promise/A+ tests will require
22changing lib/ scripts.
23
24Sinon.JS[3], required by Promise/A+ tests, is also downloaded by run-tests.py.
25
26[1]: https://github.com/promises-aplus/promises-tests
27[2]: http://visionmedia.github.io/mocha/
28[3]: http://sinonjs.org/
29
30