Usually my "grunt test:client" triggers a Karma Server to be started and my Unit Tests.
When running grunt test:client as Bamboo Task, I am getting this output:
11-Jun-2015 12:29:48 | Running "injector:karma" (injector) task |
11-Jun-2015 12:29:48 | Missing option `template`, using `dest` as template instead |
11-Jun-2015 12:29:48 | Injecting js files (52 files) |
11-Jun-2015 12:29:48 | >> Nothing changed |
11-Jun-2015 12:29:49 | |
11-Jun-2015 12:29:49 | Running "autoprefixer:dist" (autoprefixer) task |
11-Jun-2015 12:29:49 | |
11-Jun-2015 12:29:49 | Running "coffee:glob_to_multiple" (coffee) task |
11-Jun-2015 12:29:49 | >> 21 files created. |
11-Jun-2015 12:29:50 | |
11-Jun-2015 12:29:50 | Running "karma:unit" (karma) task |
11-Jun-2015 12:29:50 | Fatal error: connect ECONNREFUSED |
11-Jun-2015 12:29:50 | |
11-Jun-2015 12:29:50 | |
11-Jun-2015 12:29:50 | Execution Time (2015-06-11 10:29:46 UTC) |
11-Jun-2015 12:29:50 | loading tasks 95ms ??? 2% |
11-Jun-2015 12:29:50 | env:test 41ms ??? 1% |
11-Jun-2015 12:29:50 | coffee:glob_to_multiple 708ms ????????????????????? 18% |
11-Jun-2015 12:29:50 | mochaTest:src 1.1s ????????????????????????????????? 28% |
11-Jun-2015 12:29:50 | injector:scripts 43ms ??? 1% |
11-Jun-2015 12:29:50 | injector:karma 210ms ?????? 5% |
11-Jun-2015 12:29:50 | coffee:glob_to_multiple 1s ?????????????????????????????? 26% |
11-Jun-2015 12:29:50 | karma:unit 681ms ????????????????????? 17% |
11-Jun-2015 12:29:50 | Total 3.9s |
This is the to be expected output:
Running "coffee:glob_to_multiple" (coffee) task
>> 21 files created.
Running "karma:unit" (karma) task
INFO [karma]: Karma v0.12.32 server started at http://localhost:9126/
INFO [launcher]: Starting browser PhantomJS
INFO [PhantomJS 1.9.8 (Mac OS X)]: Connected on socket S7VZ6KyGOoprNVsXAAAA with id 25621038
Now obvsly it cant start the server. Any ideas how to fix? Also I then want to move to creating a reporter-ready, consumable XML or JSON file, but that is probably for another thread.
Seriously, could you guys at atlasian make karma with phantom run okay? I am also having issues where it says that the phantom server cannot start during the build proces using bamboo :/
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.