MooTools Specs runner
JavaScript CSS Shell
Latest commit 4dec8b5 Jan 23, 2014 @arian arian Merge pull request #12 from timwienk/master
Bump Jasmine to version 1.3.1.
Permalink
Failed to load latest commit information.
Helpers Bump Jasmine to version 1.3.1. Jan 23, 2014
JSTD-Adapter @ cdc7f40 Updating to JSTD 1.3.1 and updating Jasmine-Node Apr 20, 2011
JSTestDriver @ da63b16 Updating to JSTD 1.3.1 and updating Jasmine-Node Apr 20, 2011
Jasmine-Node @ af77ac5 Updating to JSTD 1.3.1 and updating Jasmine-Node Apr 20, 2011
Jasmine
reports CHANGE runner.js to let choose the reporter Nov 4, 2010
.gitignore * Adding runner for NodeJS. Uses Packager + MooTools Loader to create… Jul 23, 2010
.gitmodules Re-added Sinon.JS but with my repo (less dependent). Aug 10, 2011
Configuration_Example.js * Updating JSTD Runner Aug 1, 2010
README.md Updating to JSTD 1.3.1 and updating Jasmine-Node Apr 20, 2011
buildJSTDConfiguration.js Removing simulatEvent.js Nov 27, 2011
index.html Update index.html file for the new Configuration.js Aug 1, 2010
jsTestDriverServer.conf Updating to JSTD 1.3.1 and updating Jasmine-Node Apr 20, 2011
runner.css * Adjusting to the new structure Jul 29, 2010
runner.html Removing simulatEvent.js Nov 27, 2011
runner.js require.paths doesn't exists in node anymore. Jan 31, 2012
server * JSTD: Use a default configuration with only the server specified, b… Aug 31, 2010
server.bat batch files for windows developers Dec 1, 2010
test * JSTD: Use a default configuration with only the server specified, b… Aug 31, 2010
test.bat batch files for windows developers Dec 1, 2010

README.md

MooTools Core Specs

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.

Setup

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 buildJSTDConfiguration.js

Requirements

  • NodeJS

Usage

  • Open index.html in your favorite browser and press the right link
  • Run the JSTD Server
    • Start via ./server {options}
    • Point one or more browsers to http://localhost:9876
    • Run all tests via ./test
  • Run in NodeJS via ./runner.js {options}

Available Options

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