update documentation
[mkws-moved-to-github.git] / test / README.txt
1 Jasmine / jasmine-node test frame works
2 ---------------------------------------
3
4 This directory contains the MasterKey Widget Set (MKWS) Test framework.
5
6 To install (some) prerequisites, run:
7
8 $ sudo apt-get install npm
9 $ sudo npm install -g
10
11 To run the tests, run:
12
13 $ make check
14 jasmine-node ./spec
15 .......................................
16
17 Finished in 2.024 seconds
18 39 tests, 194 assertions, 0 failures, 0 skipped
19
20
21 $ make phantomjs
22 [ headless jasmine test with console.log() messages
23
24
25 To get a basic help, run:
26 $ make help
27
28
29 File system hierarchy
30 --------------------------------------
31 ./spec          contains *spec.js files
32 ./js            jasmine runtime JS lib
33 ./phantom       scripts for phantomjs tests
34
35
36 Documentation
37 ---------------------------------------
38 http://pivotal.github.io/jasmine/
39 https://github.com/pivotal/jasmine
40 http://phantomjs.org/
41
42
43 Installation
44 -------------------------------------
45 1. install node.js, see http://nodejs.org/
46 2. install node modules with npm: 
47 $ make node-modules
48
49 --
50 Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com
51 Feb 2014, Wolfram