How to integrate Karma with TeamCity -


i able run tests via karma in teamcity since can run that's accessible via command line. but, teamcity reports overall pass/fail -- not report details of failed tests. if fails, "process exited code 1".

the karma homepage says there teamcity integration, teamcity link says "not available yet".

there seems git project npm install package. but, npm install failed messages don't mean me.

> npm http https://registry.npmjs.org/karma-teamcity-reporter npm > http 304 https://registry.npmjs.org/karma-teamcity-reporter npm http > https://registry.npmjs.org/karma npm http 304 > https://registry.npmjs.org/karma npm warn `git config --get > remote.origin.url` returned wrong result > (git://github.com/vojtajina/node-di.git) undefined npm warn `git > config --get remote.origin.url` returned wrong result > (git://github.com/vojtajina/node-di.git) undefined npm http > https://registry.npmjs.org/chokidar npm http > https://registry.npmjs.org/socket.io npm http > https://registry.npmjs.org/http-proxy npm http > https://registry.npmjs.org/glob npm http > https://registry.npmjs.org/optimist npm http > https://registry.npmjs.org/coffee-script npm http > https://registry.npmjs.org/colors/0.6.0-1 npm http > https://registry.npmjs.org/minimatch npm http > https://registry.npmjs.org/pause/0.0.1 npm http > https://registry.npmjs.org/mime npm err! git clone > git://github.com/vojtajina/node-di.git undefined npm err! git clone > git://github.com/vojtajina/node-di.git undefined npm http > https://registry.npmjs.org/q npm http > https://registry.npmjs.org/lodash npm http > https://registry.npmjs.org/log4js npm http > https://registry.npmjs.org/rimraf npm err! error: spawn enoent npm > err!     @ errnoexception (child_process.js:975:11) npm err!     @ > process.childprocess._handle.onexit (child_process.js:766:34) npm err! > if need help, may report log at: npm err!     > <http://github.com/isaacs/npm/issues> npm err! or email to: npm > err!     <npm-@googlegroups.com> >  > npm err! system windows_nt 6.1.7601 npm err! command "c:\\program > files\\nodejs\\\\node.exe" "c:\\program > files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" > "karma-teamcity-reporter" npm err! cwd c:\users\steve npm err! node -v > v0.10.5 npm err! npm -v 1.2.18 npm err! syscall spawn npm err! code > enoent npm err! errno enoent npm http 304 > https://registry.npmjs.org/chokidar npm http 304 > https://registry.npmjs.org/optimist npm http 304 > https://registry.npmjs.org/socket.io npm http 304 > https://registry.npmjs.org/glob npm http 304 > https://registry.npmjs.org/http-proxy npm http 304 > https://registry.npmjs.org/coffee-script npm http 304 > https://registry.npmjs.org/colors/0.6.0-1 npm http 304 > https://registry.npmjs.org/minimatch npm http 304 > https://registry.npmjs.org/mime npm http 304 > https://registry.npmjs.org/pause/0.0.1 npm http 304 > https://registry.npmjs.org/q npm http 304 > https://registry.npmjs.org/lodash npm http 304 > https://registry.npmjs.org/log4js npm http 304 > https://registry.npmjs.org/rimraf npm err!  npm err! additional > logging details can found in: npm err!     > c:\users\steve\npm-debug.log npm err! not ok code 0 

i'm new npm. maybe i'm doing wrong npm. but, if npm install works, do? should expect next teamcity run of karma include special teamcity log messages?

anyone know how integrate karma teamcity?

use stable karma, contains teamcity reporter.

npm install -g karma 

and then, use teamcity reporter, generate teamcity output on stdout.

karma start --reporters teamcity --single-run 

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -