The tests are gray!
Folow my config:
module.exports = function () {
return {
testFramework: 'mocha@2.0.1',
debug: true,
files: [
{pattern: 'node_modules/chai/chai.js', instrument: false},
{pattern: 'node_modules/karma-sinon-chai/node_modules/sinon-chai/lib/sinon-chai.js', instrument: false},
{pattern: 'node_modules/karma-sinon-chai/adapter.js', instrument: false},
'www/assets/lib/ionic/js/ionic.bundle.js',
'www/assets/lib/angular-mocks/angular-mocks.js',
'www/assets/lib/ngCordova/dist/ng-cordova.js',
'www/assets/lib/angular-ui-router/release/angular-ui-router.js',
'www/app/app.js',
'www/app/components/**/*Controller.js',
'www/app/components/**/*Service.js',
'www/app/shared/**/*Controller.js',
'www/app/shared/**/*Service.js'
],
tests: [
'test/**/*Test.js'
],
bootstrap: function (wallaby) {
wallaby.delayStart();
var mocha = wallaby.testFramework;
mocha.ui('bdd');
window.assert = chai.assert;
window.expect = chai.expect;
console.log(sinon);
window.sinon = sinon;
wallaby.start();
}
};
};
wallaby.js started
core v1.0.71
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project File cache: /home/ridermansb/.WebStorm10/system/wallaby/projects/6db4bd1f4a6edddc
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project Config file change detected, invalidating local cache
Fri, 26 Jun 2015 00:27:57 GMT wallaby:workers Parallelism for initial run: 2, for regular run: 2
Fri, 26 Jun 2015 00:27:57 GMT wallaby:workers Starting run worker instance #0
Fri, 26 Jun 2015 00:27:57 GMT wallaby:workers Starting run worker instance #1
Fri, 26 Jun 2015 00:27:57 GMT wallaby:workers Web server is listening at 42014
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project File cache requires some updates, waiting required files from IDE
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project File www/app/app.js changes are patches only: false
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project File test/components/homeControllerTest.js changes are patches only: false
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project File node_modules/chai/chai.js changes are patches only: false
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project File www/app/shared/productsService.js changes are patches only: false
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project File www/app/components/home/homeController.js changes are patches only: false
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project File www/app/components/home/productsController.js changes are patches only: false
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project File www/assets/lib/angular-mocks/angular-mocks.js changes are patches only: false
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project Preparing to process test/components/homeControllerTest.js
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project Starting processor pool (if not yet started)
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project Preparing to process node_modules/chai/chai.js
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project Starting processor pool (if not yet started)
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project File node_modules/chai/chai.js is not instrumented by core
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project No preprocessors configured for node_modules/chai/chai.js
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project Writing to disk and caching processed file node_modules/chai/chai.js
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project Preparing to process www/app/shared/productsService.js
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project Starting processor pool (if not yet started)
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project Preparing to process www/app/components/home/homeController.js
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project Starting processor pool (if not yet started)
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project Preparing to process www/app/app.js
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project Starting processor pool (if not yet started)
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project Preparing to process www/app/components/home/productsController.js
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project Starting processor pool (if not yet started)
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project Preparing to process www/assets/lib/angular-mocks/angular-mocks.js
Fri, 26 Jun 2015 00:27:57 GMT wallaby:project Starting processor pool (if not yet started)
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project File node_modules/chai/chai.js changes saved, store ts: 1433374173000, change ts: 1435278477521
Fri, 26 Jun 2015 00:27:58 GMT wallaby:workers Started run worker instance (immediate) #1
Fri, 26 Jun 2015 00:27:58 GMT wallaby:workers Started run worker instance (immediate) #0
Fri, 26 Jun 2015 00:27:58 GMT wallaby:processor No compilers found for test/components/homeControllerTest.js
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project Instrumenting test/components/homeControllerTest.js, via process pool: true
Fri, 26 Jun 2015 00:27:58 GMT wallaby:processor No compilers found for www/app/components/home/productsController.js
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project Instrumenting www/app/components/home/productsController.js, via process pool: true
Fri, 26 Jun 2015 00:27:58 GMT wallaby:processor No compilers found for www/assets/lib/angular-mocks/angular-mocks.js
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project Instrumenting www/assets/lib/angular-mocks/angular-mocks.js, via process pool: true
Fri, 26 Jun 2015 00:27:58 GMT wallaby:processor No compilers found for www/app/components/home/homeController.js
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project Instrumenting www/app/components/home/homeController.js, via process pool: true
Fri, 26 Jun 2015 00:27:58 GMT wallaby:processor No compilers found for www/app/shared/productsService.js
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project Instrumenting www/app/shared/productsService.js, via process pool: true
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project No preprocessors configured for test/components/homeControllerTest.js
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project Writing to disk and caching processed file test/components/homeControllerTest.js
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project File test/components/homeControllerTest.js changes saved, store ts: 1435278263821, change ts: 1435278477507
Fri, 26 Jun 2015 00:27:58 GMT wallaby:processor No compilers found for www/app/app.js
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project No preprocessors configured for www/app/components/home/homeController.js
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project Writing to disk and caching processed file www/app/components/home/homeController.js
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project Instrumenting www/app/app.js, via process pool: true
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project No preprocessors configured for www/app/shared/productsService.js
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project Writing to disk and caching processed file www/app/shared/productsService.js
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project File www/app/components/home/homeController.js changes saved, store ts: 1435277217789, change ts: 1435278477548
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project File www/app/shared/productsService.js changes saved, store ts: 1435275823105, change ts: 1435278477535
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project No preprocessors configured for www/app/components/home/productsController.js
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project Writing to disk and caching processed file www/app/components/home/productsController.js
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project File www/app/components/home/productsController.js changes saved, store ts: 1435197260094, change ts: 1435278477561
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project No preprocessors configured for www/app/app.js
Fri, 26 Jun 2015 00:27:58 GMT wallaby:project Writing to disk and caching processed file www/app/app.js
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project File www/app/app.js changes saved, store ts: 1435271300565, change ts: 1435278477491
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project No preprocessors configured for www/assets/lib/angular-mocks/angular-mocks.js
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project Writing to disk and caching processed file www/assets/lib/angular-mocks/angular-mocks.js
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project File www/assets/lib/angular-mocks/angular-mocks.js changes saved, store ts: 1434463838000, change ts: 1435278477575
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project File www/assets/lib/ionic/js/ionic.bundle.js changes are patches only: false
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project File www/assets/lib/ngCordova/dist/ng-cordova.js changes are patches only: false
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project File www/assets/lib/angular-ui-router/release/angular-ui-router.js changes are patches only: false
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project File node_modules/karma-sinon-chai/node_modules/sinon-chai/lib/sinon-chai.js changes are patches only: false
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project Preparing to process www/assets/lib/ngCordova/dist/ng-cordova.js
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project Starting processor pool (if not yet started)
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project Preparing to process www/assets/lib/ionic/js/ionic.bundle.js
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project Starting processor pool (if not yet started)
Fri, 26 Jun 2015 00:27:59 GMT wallaby:processor No compilers found for www/assets/lib/ngCordova/dist/ng-cordova.js
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project Preparing to process www/assets/lib/angular-ui-router/release/angular-ui-router.js
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project Starting processor pool (if not yet started)
Fri, 26 Jun 2015 00:27:59 GMT wallaby:processor No compilers found for www/assets/lib/angular-ui-router/release/angular-ui-router.js
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project Instrumenting www/assets/lib/ngCordova/dist/ng-cordova.js, via process pool: true
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project Instrumenting www/assets/lib/angular-ui-router/release/angular-ui-router.js, via process pool: true
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project Preparing to process node_modules/karma-sinon-chai/node_modules/sinon-chai/lib/sinon-chai.js
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project Starting processor pool (if not yet started)
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project File node_modules/karma-sinon-chai/node_modules/sinon-chai/lib/sinon-chai.js is not instrumented by core
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project No preprocessors configured for node_modules/karma-sinon-chai/node_modules/sinon-chai/lib/sinon-chai.js
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project Writing to disk and caching processed file node_modules/karma-sinon-chai/node_modules/sinon-chai/lib/sinon-chai.js
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project File node_modules/karma-sinon-chai/node_modules/sinon-chai/lib/sinon-chai.js changes saved, store ts: 1412550710000, change ts: 1435278479243
Fri, 26 Jun 2015 00:27:59 GMT wallaby:processor No compilers found for www/assets/lib/ionic/js/ionic.bundle.js
Fri, 26 Jun 2015 00:27:59 GMT wallaby:project Instrumenting www/assets/lib/ionic/js/ionic.bundle.js, via process pool: true
Fri, 26 Jun 2015 00:28:00 GMT wallaby:project No preprocessors configured for www/assets/lib/angular-ui-router/release/angular-ui-router.js
Fri, 26 Jun 2015 00:28:00 GMT wallaby:project Writing to disk and caching processed file www/assets/lib/angular-ui-router/release/angular-ui-router.js
Fri, 26 Jun 2015 00:28:00 GMT wallaby:project File www/assets/lib/angular-ui-router/release/angular-ui-router.js changes saved, store ts: 1432040388000, change ts: 1435278479236
Fri, 26 Jun 2015 00:28:00 GMT wallaby:project No preprocessors configured for www/assets/lib/ngCordova/dist/ng-cordova.js
Fri, 26 Jun 2015 00:28:00 GMT wallaby:project Writing to disk and caching processed file www/assets/lib/ngCordova/dist/ng-cordova.js
Fri, 26 Jun 2015 00:28:00 GMT wallaby:project File www/assets/lib/ngCordova/dist/ng-cordova.js changes saved, store ts: 1433087898000, change ts: 1435278479226
Fri, 26 Jun 2015 00:28:05 GMT wallaby:project No preprocessors configured for www/assets/lib/ionic/js/ionic.bundle.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:project Writing to disk and caching processed file www/assets/lib/ionic/js/ionic.bundle.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:project File www/assets/lib/ionic/js/ionic.bundle.js changes saved, store ts: 1431451419000, change ts: 1435278479214
Fri, 26 Jun 2015 00:28:05 GMT wallaby:project Stopping process pool
Fri, 26 Jun 2015 00:28:05 GMT wallaby:project Running postprocessor
Fri, 26 Jun 2015 00:28:05 GMT wallaby:postprocessor New TypeScript language service is required
Fri, 26 Jun 2015 00:28:05 GMT wallaby:postprocessor TypeScript postprocessor will be removed because in 11 project files none were found by patterns: **/*.ts
Fri, 26 Jun 2015 00:28:05 GMT wallaby:project Postprocessor execution finished
Fri, 26 Jun 2015 00:28:05 GMT wallaby:project Postprocessor is removed as requested by itself
Fri, 26 Jun 2015 00:28:05 GMT wallaby:project Test run started; run priority: 3
Fri, 26 Jun 2015 00:28:05 GMT wallaby:project Running all tests
Fri, 26 Jun 2015 00:28:05 GMT wallaby:workers Starting test run, priority: 3
Fri, 26 Jun 2015 00:28:05 GMT wallaby:phantomRunner Starting sandbox [worker #0, session #02u09]
Fri, 26 Jun 2015 00:28:05 GMT wallaby:phantomRunner Preparing sandbox [worker #0, session #02u09]
Fri, 26 Jun 2015 00:28:05 GMT wallaby:phantomRunner Total files to load in sandbox: 11
Fri, 26 Jun 2015 00:28:05 GMT wallaby:phantomRunner Sandbox is generated [worker #0, session #02u09]: http://localhost:42014/wallaby_sandbox0.html
Fri, 26 Jun 2015 00:28:05 GMT wallaby:phantomRunner Creating page for worker #0
Fri, 26 Jun 2015 00:28:05 GMT wallaby:phantomRunner Phantom page created
Fri, 26 Jun 2015 00:28:05 GMT wallaby:phantomRunner Prepared sandbox [worker #0, session #02u09]
Fri, 26 Jun 2015 00:28:05 GMT wallaby:workers Running tests in sandbox [worker #0, session #02u09]
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Preparing to serve /home/ridermansb/.WebStorm10/system/wallaby/wallaby/tracer.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Serving /home/ridermansb/.WebStorm10/system/wallaby/wallaby/tracer.js from disk
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Preparing to serve /mocha@2.0.1/framework.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Serving /mocha@2.0.1/framework.js from disk
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Preparing to serve /mocha@2.0.1/configurator.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Serving /mocha@2.0.1/configurator.js from disk
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Preparing to serve /mocha@2.0.1/reporter.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Serving /mocha@2.0.1/reporter.js from disk
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Preparing to serve /node_modules/chai/chai.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Serving /node_modules/chai/chai.js from cache
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Preparing to serve /node_modules/karma-sinon-chai/node_modules/sinon-chai/lib/sinon-chai.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Serving /node_modules/karma-sinon-chai/node_modules/sinon-chai/lib/sinon-chai.js from cache
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Preparing to serve /www/assets/lib/ionic/js/ionic.bundle.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Serving /www/assets/lib/ionic/js/ionic.bundle.js from cache
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Preparing to serve /www/assets/lib/angular-mocks/angular-mocks.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Serving /www/assets/lib/angular-mocks/angular-mocks.js from cache
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Preparing to serve /www/app/app.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Serving /www/app/app.js from cache
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Preparing to serve /www/assets/lib/ngCordova/dist/ng-cordova.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Serving /www/assets/lib/ngCordova/dist/ng-cordova.js from cache
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Preparing to serve /www/assets/lib/angular-ui-router/release/angular-ui-router.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Serving /www/assets/lib/angular-ui-router/release/angular-ui-router.js from cache
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Preparing to serve /www/app/components/home/homeController.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Serving /www/app/components/home/homeController.js from cache
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Preparing to serve /www/app/components/home/productsController.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Serving /www/app/components/home/productsController.js from cache
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Preparing to serve /www/app/shared/productsService.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Serving /www/app/shared/productsService.js from cache
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Preparing to serve /test/components/homeControllerTest.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Serving /test/components/homeControllerTest.js from cache
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Preparing to serve /mocha@2.0.1/starter.js
Fri, 26 Jun 2015 00:28:05 GMT wallaby:middleware Serving /mocha@2.0.1/starter.js from disk
Fri, 26 Jun 2015 00:28:05 GMT wallaby:workers Sandbox (active) [02u09] error: ReferenceError: Can't find variable: sinon
Runtime error: ReferenceError: Can't find variable: sinon
Fri, 26 Jun 2015 00:28:05 GMT wallaby:workers Failed to map the stack to user code, entry message: ReferenceError: Can't find variable: sinon, stack: http://localhost:42014/wallaby_sandbox0.html:16
http://localhost:42014/wallaby_sandbox0.html:20
Fri, 26 Jun 2015 00:28:05 GMT wallaby:workers Run 0 test(s), skipped 0 test(s)
Fri, 26 Jun 2015 00:28:05 GMT wallaby:workers Sandbox [02u09] is responsive, closing it
Finished executing 0 affected test(s)
Fri, 26 Jun 2015 00:28:05 GMT wallaby:project Test run finished
Fri, 26 Jun 2015 00:28:05 GMT wallaby:project Processed console.log entries
Fri, 26 Jun 2015 00:28:05 GMT wallaby:project Processed executed tests
Fri, 26 Jun 2015 00:28:05 GMT wallaby:project Processed code coverage
Fri, 26 Jun 2015 00:28:05 GMT wallaby:project Test run result processed and sent to IDE