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.
|
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:
|
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:
|
||||||
```
|
|
||||||
$ brew install npm
|
|
||||||
```
|
|
||||||
|
|
||||||
Mac Ports:
|
```bash
|
||||||
```
|
npm install
|
||||||
$ 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
|
|
||||||
```
|
```
|
||||||
|
|
||||||
To Run the tests
|
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
|
|
||||||
|
|
Reference in a new issue