|
|
15 anos atrás | |
|---|---|---|
| .. | ||
| Helpers | 15 anos atrás | |
| Jasmine | 15 anos atrás | |
| reports | 15 anos atrás | |
| Configuration_Example.js | 15 anos atrás | |
| README.md | 15 anos atrás | |
| buildJSTDConfiguration.js | 15 anos atrás | |
| index.html | 15 anos atrás | |
| jsTestDriverServer.conf | 15 anos atrás | |
| runner.css | 15 anos atrás | |
| runner.html | 15 anos atrás | |
| runner.js | 15 anos atrás | |
| server | 15 anos atrás | |
| test | 15 anos atrás | |
This repository is intended to provide the specification infrastructure for MooTools Core.
The infrastructure uses Jasmine as a UnitTest-Library. It is possible to run Specs via the browser, via JSTestDriver and via NodeJS.
Clone the MooTools Core repository and initialize the submodules.
Set up the Specs:
cd Specs
git pull origin master
git submodule update --init
chmod +x server test runner runner.js buildCommonJS buildJSTDConfiguration
Options are specified via JSON.
Example for JSTD
./server '{"version": 1.3, "path": "../core/", "specs": [1.2, "1.3base", "1.3client"]}'
Example for NodeJS
./runner.js '{"sets": ["1.3base"], "source": "../core/"}'
Options
"sets" - The specs to run, see Configuration.js
"source" - The source files package, see Configuration.js
"preset" - You can simply use a preset with predefined sets and source, see Configuration.js