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/
12 $ sudo apt-get install npm
15 $ sudo yum install npm
18 The nodejs modules are configured in ./package.json
19 You can install them manually with
22 if you want. The top level makefile in ./mkws/Makefile takes care to
23 checkout and update the modules automatically.
27 ---------------------------------------
30 To run the tests, run:
32 1. basic javscript tests
36 .......................................
38 Finished in 2.024 seconds
39 39 tests, 194 assertions, 0 failures, 0 skipped
42 2. Testing the Widgets in a headless browser with Jasmine
45 [ headless jasmine test with console.log() messages
47 $ DEBUG=1 make phantomjs PHANTOM_URL=https://example.indexdata.com/jasmine-popup.html
51 To get a basic help, run:
56 --------------------------------------
57 ./spec contains *spec.js files for phantomjs
58 ./spec-dev development *spec.js files
59 ./js jasmine runtime JS lib
60 ./phantom scripts for phantomjs tests
62 ./etc configuration files
63 ./logs apache access and error log files
64 ./widgets screenshots for MKWS widgets
65 ./images screenshots for testing
68 ---------------------------------------
69 http://pivotal.github.io/jasmine/
70 https://github.com/pivotal/jasmine
75 Copyright (c) 2013-2014 Index Data ApS. http://indexdata.com