4 This repository is intended to provide the specification infrastructure for MooTools Core.
6 The infrastructure uses Jasmine as a UnitTest-Library. It is possible to run Specs via
7 the browser, via JSTestDriver and via NodeJS.
11 Clone the MooTools Core repository and initialize the submodules.
16 git pull origin master
17 git submodule update --init --recursive
19 chmod +x server test runner runner.js buildCommonJS buildJSTDConfiguration
28 * Open index.html in your favorite browser and press the right link
30 * Start via ./server {options}
31 * Point one or more browsers to http://localhost:9876
32 * Run all tests via ./test
33 * Run in NodeJS via ./runner {options}
37 Options are specified via JSON.
40 ./server '{"version": 1.3, "path": "../core/", "specs": [1.2, "1.3base", "1.3client"]}'
43 ./runner '{"specs": ["1.3base"], "path": "../core/"}'
46 "path" - Only needs to be specified if the core-specs repository is being used outside of the MooTools Core repository
47 "specs" - The specs to run, see Sets.js
48 "version" - The version of MooTools to be used for running the specs