X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2FREADME.txt;h=8ce41f09d23504cfd2c26e03aed14701ce19d536;hb=12e9a050f7d661b1f15725b3aab709222ea35987;hp=663450f1d7e5860eddd2f9fed1611b585d1d2b36;hpb=d98c1d27ab6a0a93acde858e1dfc355f9b35adaa;p=mkws-moved-to-github.git diff --git a/test/README.txt b/test/README.txt index 663450f..8ce41f0 100644 --- a/test/README.txt +++ b/test/README.txt @@ -1,13 +1,51 @@ 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 -g + +To run the tests, run: + +$ make check +jasmine-node ./spec +....................................... + +Finished in 2.024 seconds +39 tests, 194 assertions, 0 failures, 0 skipped + + +$ make phantomjs +[ headless jasmine test with console.log() messages + +To get a basic help, run: +$ make help + + +File system hierarchy +-------------------------------------- ./spec contains *spec.js files -README.txt this file +./js jasmine runtime JS lib +./phantom scripts for phantomjs tests + Documentation -------------------------------------- +--------------------------------------- http://pivotal.github.io/jasmine/ https://github.com/pivotal/jasmine +http://phantomjs.org/ + + +Installation +------------------------------------- +1. install node.js, see http://nodejs.org/ +2. install node modules with npm: +$ make node-modules -- -Aug 2013, Wolfram +Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com +Feb 2014, Wolfram