X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=test%2FREADME.txt;h=fb6bfa5187b35052f2a5dff768ffc4e5e42261de;hp=5ed0c416ea2222b7971d6f8bc22bf89ba59f97cb;hb=e6fc2ba40e38fd0d2a746082be32d2578460174c;hpb=189c2d34ac3c77d5aaf90d421db0c1c2b54fff46 diff --git a/test/README.txt b/test/README.txt index 5ed0c41..fb6bfa5 100644 --- a/test/README.txt +++ b/test/README.txt @@ -1,11 +1,53 @@ 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 +$ DEBUG=1 make phantomjs PHANTOM_URL=https://mkws-dev.indexdata.com/jasmine-popup.html +[ less debug noise ] + +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 +-- +Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com +Feb 2014, Wolfram