1 Jasmine / jasmine-node test frame works
2 =============================================
4 This directory contains the MasterKey Widget Set (MKWS) Test framework.
8 -------------------------------------
9 1. install node.js, see http://nodejs.org/
10 (and apache2 if you have not already)
13 $ sudo apt-get install npm
14 $ sudo apt-get install apache2
17 $ sudo yum install npm
18 $ sudo yum install httpd
21 The nodejs modules are configured in ./package.json
22 You can install them manually with
25 if you want. The top level makefile in ./mkws/Makefile takes care to
26 checkout and update the modules automatically.
30 ---------------------------------------
33 To run the tests, run:
35 1. basic javscript tests
39 .......................................
41 Finished in 2.024 seconds
42 39 tests, 194 assertions, 0 failures, 0 skipped
45 2. Testing the Widgets in a headless browser with Jasmine
48 [ headless jasmine test with console.log() messages
50 $ DEBUG=1 make phantomjs PHANTOM_URL=https://example.indexdata.com/jasmine-popup.html
54 To get a basic help, run:
59 --------------------------------------
60 ./spec contains *spec.js files for phantomjs
61 ./spec-dev development *spec.js files
62 ./js jasmine runtime JS lib
63 ./phantom scripts for phantomjs tests
65 ./etc configuration files
66 ./logs apache access and error log files
67 ./widgets screenshots for MKWS widgets
68 ./images screenshots for testing
71 ---------------------------------------
72 http://pivotal.github.io/jasmine/
73 https://github.com/pivotal/jasmine
78 Copyright (c) 2013-2014 Index Data ApS. http://indexdata.com