X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=test%2FREADME.txt;h=6a490926c56e0504c9686ca236bbec8d94bd2060;hp=16525a4033a19fe5c58fadfd46a6a670ebab7c0c;hb=bb5b00d30080c9f6d55d7726e9f5264800d1e61e;hpb=85de65c0e0bb840002019f8d115a05de7d064631 diff --git a/test/README.txt b/test/README.txt index 16525a4..6a49092 100644 --- a/test/README.txt +++ b/test/README.txt @@ -1,25 +1,47 @@ Jasmine / jasmine-node test frame works --------------------------------------- +This directory contains the MasterKey Widget Set (MKWS) Test framework. + +To install (some) prerequisites, run: + +$ sudo apt-get install npm +$ sudo npm install jasmine-node -g + +To run the tests, run: + +$ make check +jasmine-node ./spec +....................................... + +Finished in 2.024 seconds +39 tests, 194 assertions, 0 failures, 0 skipped + + +To get a basic help, run: +$ make help + + +File system hierarchy +-------------------------------------- ./spec contains *spec.js files ./js jasmine runtime JS lib - + README.txt this file + Documentation --------------------------------------- http://pivotal.github.io/jasmine/ https://github.com/pivotal/jasmine + Installation ------------------------------------- -1. install node.js -2. install node modules with npm - -npm install jquery -npm install jsdom -npm install jasmine-node - +1. install node.js, see http://nodejs.org/ +2. install node modules with npm: +$ make node-modules -- -Aug 2013, Wolfram +Copyright (c) 2013 IndexData ApS. http://indexdata.com +Dec 2013, Wolfram