Hi,
This error when running Testacular is confusing me. Anyone got any pointers?
Here is a debug log of what's happening (I've hidden directory paths). Everything looks OK, but then ... error ;-(
Many thanks
Jason
info: Testacular server started at
http://localhost:8080/info (launcher): Starting browser Chrome
debug (launcher): Creating temp dir at /tmp/testacular-90686789
debug (launcher): google-chrome --user-data-dir=/tmp/testacular-90686789 --no-default-browser-check --no-first-run --disable-default-apps
http://localhost:8080/?id=90686789info (launcher): Starting browser Firefox
debug (launcher): Creating temp dir at /tmp/testacular-64169966
debug (watcher): Resolved files:
/usr/lib/node_modules/testacular/adapter/lib/jasmine.js
/usr/lib/node_modules/testacular/adapter/jasmine.js
/home/jason/../test/unit/controllersSpec.js
/home/jason/../test/unit/directivesSpec.js
/home/jason/../test/unit/servicesSpec.js
/home/jason/../public/js/app.js
/home/jason/../public/js/controllers.js
/home/jason/../public/js/directives.js
/home/jason/../public/js/filters.js
/home/jason/../public/js/services.js
debug (watcher): Watching "/usr/lib/node_modules/testacular/adapter/lib/jasmine.js"
debug (watcher): Watching "/usr/lib/node_modules/testacular/adapter/jasmine.js"
debug (watcher): Watching "/home/jason/../test/unit"
debug (watcher): Watching "/home/jason/../public/js/app.js"
debug (watcher): Watching "/home/jason/../public/js/controllers.js"
debug (watcher): Watching "/home/jason/../public/js/directives.js"
debug (watcher): Watching "/home/jason/../public/js/filters.js"
debug (watcher): Watching "/home/jason/../public/js/services.js"
debug (watcher): Add file "/usr/lib/node_modules/testacular/adapter/jasmine.js" ignored. Already in the list.
debug (watcher): Add file "/usr/lib/node_modules/testacular/adapter/lib/jasmine.js" ignored. Already in the list.
debug (watcher): Add file "/home/jason/../public/js/app.js" ignored. Already in the list.
debug (watcher): Add file "/home/jason/../public/js/controllers.js" ignored. Already in the list.
debug (watcher): Add file "/home/jason/../public/js/directives.js" ignored. Already in the list.
debug (watcher): Add file "/home/jason/../public/js/filters.js" ignored. Already in the list.
debug (watcher): Add file "/home/jason/../public/js/services.js" ignored. Already in the list.
debug (watcher): Add file "/home/jason/../test/unit/controllersSpec.js" ignored. Already in the list.
debug (watcher): Add file "/home/jason/../test/unit/directivesSpec.js" ignored. Already in the list.
debug (watcher): Add file "/home/jason/../test/unit/filtersSpec.js" ignored. Already in the list.
debug (watcher): Add file "/home/jason/../test/unit/servicesSpec.js" ignored. Already in the list.
debug (launcher): firefox
http://localhost:8080/?id=64169966 -profile /tmp/testacular-64169966 -no-remote
debug (web server): serving: /usr/lib/node_modules/testacular/static/client.html
debug (web server): serving: /usr/lib/node_modules/testacular/static/testacular.js
debug: New browser has connected on socket c4xLmxv1LkBWmvpAOjsK
info (Chrome 23.0): Connected on socket id c4xLmxv1LkBWmvpAOjsK
debug (web server): serving: /usr/lib/node_modules/testacular/static/client.html
warn (launcher): Firefox have not captured in 5000 ms, killing.
debug (launcher): Cleaning temp dir /tmp/testacular-64169966
info (launcher): Trying to start Firefox again.
debug (launcher): Creating temp dir at /tmp/testacular-64169966
debug (launcher): firefox
http://localhost:8080/?id=64169966 -profile /tmp/testacular-64169966 -no-remote
debug (web server): serving: /usr/lib/node_modules/testacular/static/client.html
debug (web server): serving: /usr/lib/node_modules/testacular/static/testacular.js
debug: New browser has connected on socket DA6n2jgU9IpzlZbgOjsL
info (Firefox 17.0): Connected on socket id DA6n2jgU9IpzlZbgOjsL
debug: All browsers are ready, executing
debug (web server): serving: /usr/lib/node_modules/testacular/static/context.html
debug (web server): serving: /usr/lib/node_modules/testacular/static/context.html
debug (web server): serving: /usr/lib/node_modules/testacular/adapter/lib/jasmine.js
debug (web server): serving: /usr/lib/node_modules/testacular/adapter/jasmine.js
debug (web server): serving: /home/jason/../test/unit/directivesSpec.js
debug (web server): serving: /home/jason/../test/unit/controllersSpec.js
debug (web server): serving: /home/jason/../test/unit/filtersSpec.js
debug (web server): serving: /home/jason/../test/unit/servicesSpec.js
debug (web server): serving: /home/jason/../public/js/app.js
debug (web server): serving: /home/jason/../public/js/services.js
debug (web server): serving: /home/jason/../public/js/filters.js
debug (web server): serving: /home/jason/../public/js/directives.js
debug (web server): serving: /home/jason/../public/js/controllers.js
debug (web server): serving: /usr/lib/node_modules/testacular/adapter/lib/jasmine.js
debug (web server): serving: /usr/lib/node_modules/testacular/adapter/jasmine.js
debug (web server): serving: /home/jason/../test/unit/controllersSpec.js
Chrome 23.0 ERROR
Uncaught ReferenceError: angular is not defined
at /home/jason/../public/js/app.js:5
Chrome 23.0: Executed 0 of 0 ERROR (0.061 secs / 0 secs)
Firefox 17.0: Executed 0 of 0
debug (web server): serving: /home/jason/../test/unit/directivesSpec.js
debug (web server): serving: /home/jason/../public/js/controllers.js
debug (web server): serving: /home/jason/../public/js/app.js
debug (web server): serving: /home/jason/../test/unit/servicesSpec.js
debug (web server): serving: /home/jason/../test/unit/filtersSpec.js
debug (web server): serving: /home/jason/../public/js/directives.js
Firefox 17.0 ERROR
ReferenceError: angular is not defined
at /home/jason/../public/js/app.js:5
Chrome 23.0: Executed 0 of 0 ERROR (0.061 secs / 0 secs)
Firefox 17.0: Executed 0 of 0 ERROR (0.116 secs / 0 secs)