Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(794)

Unified Diff: test/promises-aplus/README

Issue 196733002: Add Promises/A+ Compliance Test Suite. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/promises-aplus/lib/adapter.js » ('j') | test/promises-aplus/testcfg.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/promises-aplus/README
diff --git a/test/promises-aplus/README b/test/promises-aplus/README
new file mode 100644
index 0000000000000000000000000000000000000000..de15da362c8f0688cd7e95100bcfcbd0ff8d4bf0
--- /dev/null
+++ b/test/promises-aplus/README
@@ -0,0 +1,29 @@
+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/
+
« no previous file with comments | « no previous file | test/promises-aplus/lib/adapter.js » ('j') | test/promises-aplus/testcfg.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698