switched tests to qunit
This commit is contained in:
parent
b3aff50d6a
commit
c78bc6cef5
8 changed files with 2568 additions and 3 deletions
7
Makefile
7
Makefile
|
@ -1,3 +1,4 @@
|
|||
|
||||
#
|
||||
# build package & update examples
|
||||
#
|
||||
|
@ -28,14 +29,14 @@ build:
|
|||
@echo "Done"
|
||||
|
||||
#
|
||||
# run jshint & jasmine tests
|
||||
# run jshint & quint tests
|
||||
#
|
||||
|
||||
test:
|
||||
@./node_modules/.bin/jshint lib/ComicBook.js --config lib/.jshintrc
|
||||
@./node_modules/.bin/jshint lib/tests/spec/*.js --config lib/.jshintrc
|
||||
@./node_modules/.bin/jshint lib/tests/unit/*.js --config lib/.jshintrc
|
||||
@node lib/tests/server.js &
|
||||
@./node_modules/.bin/phantomjs lib/tests/run-jasmine.js http://127.0.0.1:3000/lib/tests/SpecRunner.html
|
||||
@./node_modules/.bin/phantomjs lib/tests/phantom.js "http://localhost:3000/lib/tests"
|
||||
@kill -9 `cat lib/tests/pid.txt`
|
||||
@rm lib/tests/pid.txt
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue