mirror of
https://github.com/scratchfoundation/scratch-html5.git
synced 2024-11-28 10:05:55 -05:00
Update readme to refect simplification of installation / test running
This commit is contained in:
parent
dcb00fc634
commit
14a9f13ce8
1 changed files with 7 additions and 30 deletions
35
README.md
35
README.md
|
@ -28,41 +28,18 @@ The tests are written using Karma and there should be a 100% passing rate in ord
|
|||
The expectation is to add a unit test for any code that you contribute to the project.
|
||||
|
||||
|
||||
Install Node (NPM) (https://npmjs.org/)
|
||||
Install Node
|
||||
---------------------------------------
|
||||
|
||||
Brew:
|
||||
```
|
||||
$ brew install npm
|
||||
```
|
||||
To install [Node.js](http://nodejs.org) and [NPM](http://npmjs.org) simply go to [http://nodejs.org](http://nodejs.org/), download the package for your operating system and install. Once installed, navigate to your local scratch directory and run:
|
||||
|
||||
Mac Ports:
|
||||
```
|
||||
$ port install npm
|
||||
```
|
||||
|
||||
In your local scratch directory
|
||||
|
||||
```
|
||||
$ npm install
|
||||
```
|
||||
|
||||
Local copy of jQuery
|
||||
--------------------
|
||||
|
||||
```
|
||||
$ cd test/lib
|
||||
$ curl http://code.jquery.com/jquery-1.11.0.min.js > jquery-1.11.0.min.js
|
||||
```bash
|
||||
npm install
|
||||
```
|
||||
|
||||
To Run the tests
|
||||
----------------
|
||||
|
||||
```bash
|
||||
npm test
|
||||
```
|
||||
$ ./scripts/test.sh
|
||||
```
|
||||
|
||||
|
||||
To configure the unit tests
|
||||
---------------------------
|
||||
The karam.conf.js file is location in the config directory
|
||||
|
|
Loading…
Reference in a new issue