*I am trying to test my angular js code with Karma, which is working fine 
with firefox, but when I am trying to run with my chromium-browser(with 
ubuntu 13.10), it is opening mutiple browsers of chromium, please see the 
below actual output*

INFO [karma]: Karma v0.12.24 server started at http://localhost:9876/
INFO [launcher]: Starting browser /usr/bin/chromium-browser
ERROR [launcher]: 

Cannot start /usr/bin/chromium-browser

INFO [launcher]: Trying to start /usr/bin/chromium-browser again (1/2).

INFO [Chromium 36.0.1985 (Ubuntu)]: Connected on socket 
wubDb7xufH1gjMWO_GMm with id 78688501

INFO [Chromium 36.0.1985 (Ubuntu)]: Connected on socket 
R9oJBdouCcGG2P5p_GMn with id 97893008

INFO [karma]: Delaying execution, these browsers are not ready: Chromium 
36.0.1985 (Ubuntu)

Chromium 36.0.1985 (Ubuntu) app module SimpleCtrl should assign message to 
hello world FAILED
    Expected 'Hello World' to be 'Hello World1'.
    Error: Expected 'Hello World' to be 'Hello World1'.
        at Object.<anonymous> 
(/home/rajit/IdeaProjects/Applane/node_modules/ApplaneApps/home.tests.js:16:35)Chromium
 36.0.1985 (Ubuntu): Executed 1 of 2 (1 FAILED) ERROR (0.068 secs / 0.037 
secs)Chromium 36.0.1985 (Ubuntu): Executed 0 of 2 SUCCESS (0 secs / 0 secs)

ERROR [launcher]: /usr/bin/chromium-browser crashed.

Chromium 36.0.1985 (Ubuntu) app module SimpleCtrl should assign message to 
hello world FAILED
    Expected 'Hello World' to be 'Hello World1'.
    Error: Expected 'Hello World' to be 'Hello World1'.
        at Object.<anonymous> 
(/home/rajit/IdeaProjects/Applane/node_modules/ApplaneApps/home.tests.js:16:35)

Chromium 36.0.1985 (Ubuntu) app module SimpleCtrl should assign message to 
hello world FAILED Expected 'Hello World' to be 'Hello World1'. Error: 
Expected 'Hello World' to be 'Hello World1'. at Object. 
(/home/rajit/IdeaProjects/Applane/node_modules/ApplaneApps/home.tests.js:16:35)

Chromium 36.0.1985 (Ubuntu) app module SimpleCtrl should assign message to 
hello world FAILED
    Expected 'Hello World' to be 'Hello World1'.
    Error: Expected 'Hello World' to be 'Hello World1'.
        at Object.<anonymous> 
(/home/rajit/IdeaProjects/Applane/node_modules/ApplaneApps/home.tests.js:16:35)

 Chromium 36.0.1985 (Ubuntu) app module SimpleCtrl should assign message to 
hello world FAILED
      Expected 'Hello World' to be 'Hello World1'.
      Error: Expected 'Hello World' to be 'Hello World1'.
          at Object.<anonymous> 
(/home/rajit/IdeaProjects/Applane/node_modules/ApplaneApps/home.tests.js:16:35)

Chromium 36.0.1985 (Ubuntu): Executed 1 of 2 (1 FAILED) ERROR (0.152 secs / 
0.066 secs)Chromium 36.0.1985 (Ubuntu): Executed 3 of 2 (3 FAILED) (0 secs / 
0.191 secs)Chromium 36.0.1985 (Ubuntu): Executed 3 of 2 (3 FAILED) (0 secs / 
0.191 secs)Chromium 36.0.1985 (Ubuntu): Executed 1 of 2 (1 FAILED) ERROR (0.152 
secs / 0.066 secs)Chromium 36.0.1985 (Ubuntu): Executed 1 of 2 (1 FAILED) 
DISCONNECTED (10.678 secs / 0.066 secs)Chromium 36.0.1985 (Ubuntu): Executed 3 
of 2 (3 FAILED) ERROR (0.484 secs / 0.191 secs)Chromium 36.0.1985 (Ubuntu): 
Executed 3 of 2 (3 FAILED) ERROR (0.484 secs / 0.191 secs)Chromium 36.0.1985 
(Ubuntu): Executed 3 of 2 (3 FAILED) ERROR (0.484 secs / 0.191 secs)

In my karma.config.js file this is set browsers: 
['/usr/bin/chromium-browser'],

    plugins : [
        'karma-chrome-launcher',
        'karma-firefox-launcher',
        'karma-jasmine' ,
        'karma-phantomjs-launcher',
        'karma-requirejs',
        'karma-coffee-preprocessor',
        'karma-junit-reporter',
        'karma-script-launcher',
        'karma-ng-scenario',
        'phantomjs'
    ],

and all above launcher are install

and I am trying to run testcase by both the commands below through the 
Terminal

*karma start karma.config.js --browsers /usr/bin/chromium-browser*

*karma start karma.config.js*

In my test case file I have total two testcase out of which one is skipped.

in short, I am able to check whether my testcase is right or not, but it is 
executing the command several times due to connectivity with chromium and 
crash problem

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/b0e13f43-9ff8-410e-afaa-24d273a72832%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to