Home | History | Annotate | only in /external/v8/test/promises-aplus
Up to higher level directory
NameDateSize
lib/21-Oct-2016
promises-aplus.status21-Oct-20161.6K
README21-Oct-2016981
testcfg.py21-Oct-20165.5K

README

      1 This directory contains code for running Promise/A+ Compliance Test Suite[1].
      2 You can download the it from [1], or by specifying --download to
      3 tools/run-tests.py.
      4 Promise/A+ Compliance Test Suite requires Node environment and needs some
      5 libraries. To run it in d8 shell, we provides some emulation functions in the
      6 lib/ 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 
     21 The emulation is not complete. Upgrading Promise/A+ tests will require
     22 changing lib/ scripts.
     23 
     24 Sinon.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