I just tried adding a basePath but I'm still not seeing an xml output file.
I originally set up a Karma run configuration according to the WebStorm documentation here: http://www.jetbrains.com/webstorm/webhelp/running-unit-tests-on-karma.html
It includes the following information:
Node.js interpreter: C:\Program Files\nodejs\node.exe
Karma node package: C:\WebStorm\eluminate\trunk\node_modules\karma
Configuration file: C:\WebStorm\eluminate\trunk\karma.conf.js
The command actually being run from WebStorm looks like this:
"C:\Program Files\nodejs\node.exe" node_modules\karma\bin\karma start C:\WebStorm\eluminate\trunk\karma.conf.js
Using this run configuration I get a nice tree view of the test run in WebStorm which I can manually export to an xml file but the xml file I've specified in the Karma config is never generated.
------
Next I set up a Node.js run configuration Node.js run configuration which includes the following information:
Node interpreter: C:\Program Files\nodejs\node.exe
Working directory: C:\WebStorm\eluminate\trunk
JavaScript file: node_modules\karma\bin\karma
Application parameters: start C:\WebStorm\eluminate\trunk\karma.conf.js
The command actually being run from WebStorm looks like this:
"C:\Program Files\nodejs\node.exe" "C:\Program Files (x86)\JetBrains\WebStorm 7.0\plugins\js-karma\js_reporter\karma-intellij\lib\intellijRunner.js" --karmaPackageDir=C:\WebStorm\eluminate\trunk\node_modules\karma --serverPort=9877 --urlRoot=/
Using this run configuration I don't get the nice tree view in WebStorm but the xml file I've specified in the Karma config is generated correctly.
I'm not an expert, but I would call that a bug in WebStorm with regard to how it runs Karma. You should file a bug report with JetBrains. They are pretty responsive, especially when there is clear documentation like you have.
--To view this discussion on the web visit https://groups.google.com/d/msgid/karma-users/ecf2e37e-2dff-44d6-9610-1d020d66ba84%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "karma-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to karma-users...@googlegroups.com.
To post to this group, send email to karma...@googlegroups.com.
Visit this group at http://groups.google.com/group/karma-users.
I see that that issue is fixed already, but there are no details about the fix. Could we get a little detail please?
--
You received this message because you are subscribed to the Google Groups "karma-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to karma-users...@googlegroups.com.
To post to this group, send email to karma...@googlegroups.com.
Visit this group at http://groups.google.com/group/karma-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/karma-users/16258a62-2c36-4d06-803b-dffba0045f69%40googlegroups.com.