projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Facet-related elements are identified by class rather than ID.
[mkws-moved-to-github.git]
/
test
/
README.txt
diff --git
a/test/README.txt
b/test/README.txt
index
6c6b504
..
fb6bfa5
100644
(file)
--- a/
test/README.txt
+++ b/
test/README.txt
@@
-3,8
+3,12
@@
Jasmine / jasmine-node test frame works
This directory contains the MasterKey Widget Set (MKWS) Test framework.
This directory contains the MasterKey Widget Set (MKWS) Test framework.
+To install (some) prerequisites, run:
-to run the tests, run:
+$ sudo apt-get install npm
+$ sudo npm install -g
+
+To run the tests, run:
$ make check
jasmine-node ./spec
$ make check
jasmine-node ./spec
@@
-14,6
+18,12
@@
Finished in 2.024 seconds
39 tests, 194 assertions, 0 failures, 0 skipped
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
To get a basic help, run:
$ make help
@@
-22,21
+32,22
@@
File system hierarchy
--------------------------------------
./spec contains *spec.js files
./js jasmine runtime JS lib
--------------------------------------
./spec contains *spec.js files
./js jasmine runtime JS lib
-
-README.txt this file
+./phantom scripts for phantomjs tests
Documentation
---------------------------------------
http://pivotal.github.io/jasmine/
https://github.com/pivotal/jasmine
Documentation
---------------------------------------
http://pivotal.github.io/jasmine/
https://github.com/pivotal/jasmine
+http://phantomjs.org/
Installation
-------------------------------------
1. install node.js, see http://nodejs.org/
Installation
-------------------------------------
1. install node.js, see http://nodejs.org/
-2. install node modules with npm: make node-modules
+2. install node modules with npm:
+$ make node-modules
--
--
-Copyright (c) 2013 IndexData ApS. http://indexdata.com
-Sep 2013, Wolfram
+Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com
+Feb 2014, Wolfram