0a12eaea45
Bug: v8:6917 Cq-Include-Trybots: master.tryserver.v8:v8_linux_noi18n_rel_ng Change-Id: I09fb05ac6d4b9b1223118494ce2c89e3ab5de109 Reviewed-on: https://chromium-review.googlesource.com/771870 Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Michał Majewski <majeski@google.com> Cr-Commit-Position: refs/heads/master@{#49415} |
||
---|---|---|
.. | ||
lib | ||
promises-aplus.status | ||
README | ||
testcfg.py |
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/