free software

Karma

Products: IntelliJ IDEA, RubyMine, PhpStorm, PyCharm

Vendor: JetBrains

Email: N/A

Website: N/A

SourceCode: https://github.com/JetBr...ins/tree/master/js-karma

Bugtracker page

Description:

Integration with Karma, a spectacular test runner for JavaScript
Downloads: 52174
Rating:
Participated in rating: 4
Version Since Build Until Build File/URL Size (Kb) Date Details
135.480. 135. 136. Download 148.33 2014-04-03 12:25:13 details
136.1141. 136. 137. Download 147.35 2014-03-12 14:42:58 details
134.1347. 134.1346. 135. Download 147.09 2014-02-27 14:40:00 details
134.1341. 134.1327. 134.1342. Download 149.58 2014-02-27 13:33:16 details
134.1163. 134.1160. 135. Download 146.68 2014-02-18 23:38:42 details
134.1039. 134.1015. 135. Download 143.98 2014-02-10 14:56:19 details
134.686. 134.670. 135. Download 145.63 2014-01-14 17:01:47 details
133.434. 133.286. 134. Download 144.21 2013-12-27 18:32:11 details
133.287. 133. 134. Download 138.31 2013-12-13 01:10:58 details
131.562. 131.346. 132. Download 136.18 2013-12-11 20:15:06 details
134.31. 134. 135. Download 138.15 2013-11-18 13:55:51 details
132.1047. 132.678. 133. Download 138.16 2013-11-18 13:46:01 details
132.690. 132. 133. Download 137.85 2013-10-19 20:10:15 details
131.211. 131.120. 132. Download 133.13 2013-09-27 19:12:46 details
131.39. 131. 132. Download 129.86 2013-09-02 14:37:57 details
130.1640. 130.1604. 131. Download 116.89 2013-08-16 14:54:18 details
130.1461. 130.1451. 130.1451. Download 142.07 2013-07-31 17:10:33 details
130.1460. 130.1434. 131. Download 97.79 2013-07-30 14:52:05 details
130.1365. 130.1365. 131. Download 97.98 2013-07-29 00:59:42 details
130.1192. 130.1167. 131. Download 98.17 2013-07-12 13:11:16 details
. .
13 updates are hidden show all updates

Comments:

123>
SergeySimonchik
2014-02-14 17:56:38
Unfortunately, I cannot reproduce the issue. To find out the cause your idea.log is needed (on the main menu "Help | Show Log in...").

Could you please create an issue with attached log in our bugtracker?

.
jonnysamps
2014-02-14 03:52:06
I would love to use this plugin but I'm getting an error that I can't over come. I've trie d re-installing the plugin many times. PHPStorm 7.1.2 Build PS133.803 Plugin Version: 133.434 { [Error: Cannot find module './intellijCli'] code: 'MODULE_NOT_FOUND' } Error: Cannot find module './intellijCli' Any help?
.
ozanhazer
2014-02-10 13:46:21
Ah right, I was using wrong node package. It turns out that the karma is installed both locally and globally and global one was selected by default in the karma run config. Thanks!
.
SergeySimonchik
2014-02-10 13:32:27
Hi, please try to run karma tests outside the IDE (using the console). You should use the same karma package as specified in "Karma node package" field of Karma run configuration.

Will the problem with "ng-html2js" still persist? If yes, please file an issue in our bugtracker.

.
ozanhazer
2014-02-10 13:21:41
Hi Sergey I didn't see your message, sorry... Here's the update. After I've read your message I tried it again without any changes, simply clicked on "Run" and it worked for most of the tests! We've changed a lot in the config so I can't tell what was the problem... However there's another problem now, it says: WARN [preprocess]: Can not load "ng-html2js", it is not registered! Perhaps you are missing some plugin? What we have in the karma config file is: preprocessors: { '**/*.coffee': ['coffee'], '**/*.html': ['ng-html2js'] } and the module karma-ng-html2js-preprocessor is under the node_modules directory too... It doesn't complain about the coffeee preprocessor but we don't use it anyway so probably karma is not trying to load it at all...
.
SergeySimonchik
2014-01-29 15:33:39
Ozan, you're using https://github.com/karma-runner/karma-commonjs. Right?

Indeed, the plugin runs karma with working directory set to the config's directory. If you find a glitch here please file an issue in the bugtracker.


Actual working directory could be found by adding extra logging to /path/to/karma/lib/server.js: "console.log(process.cwd());"


If 'commonjsPreprocessor' is specified, then 'commonjsPreprocessor.modulesRoot' is resolved against the working directory (i.e. the config's directory). Otherwise, "karma.basePath/node_modules" is assumed (i.e. the working directory isn't involved in resolution).

.
ozanhazer
Rated:
2014-01-28 16:38:11
It cannot find the modules if the test directories is not at the root directory I think? Our directory structure ise like: /ui/test/* --> test related files /ui/node_modules/ --> we have the modules So it complains about being not able to find the modules. If I create a new project with "ui" as the root directory it works OK. In fact we're defining the base dir in the config file so I think the plugin should be run in that directory, or I don't know if we can specify the working directory by setting some environment variable or so...
.
SergeySimonchik
2014-01-23 13:17:31
I'm sorry, Michael, but there are no plans for releasing Karma plugin for IntelliJ IDEA 12. The problem is that Karma plugin relies on IntelliJ IDEA 13 API and other internal stuff (for example, it uses a new index that was introduced in IDEA 13).

Sorry again. The plugin's compatible with IntelliJ IDEA 13 or higher.


About upgrading to version 13: checkout additional options.

.
michael.kantor
2014-01-22 22:56:49
Is there a version that is compatible with IntelliJ IDEA Ultimate 12 (I have build 129.1359)? Upgrading to version 13 will cost money.
.
SergeySimonchik
2013-12-16 15:39:40
How do you perform "autoreload"?

Is "autoreload" the same thing as "auto test run"?


If yes, please use Alt+Shift+R to rerun tests. See also http://youtrack.jetbrains.com/issue/WEB-8136.


Feel free to file an issue in the WebStorm issue tracker. Thanks.

.
pahund
Rated:
2013-12-12 21:43:08
I really like this plugin! Unfortunately, the auto-reload when I change my test or code under test doesn't work properly when I use requirejs. Anyone else experience this? Here's my code: https://github.com/pahund/karma-demo
.
SergeySimonchik
2013-12-02 10:43:22
.
blabno
2013-11-29 01:32:00
Where is the source code? Maybe community could port it back :)
.
SergeySimonchik
2013-10-16 15:37:51
About:

[ERROR] config - Invalid config file!
{ [Error: Cannot find module './intellijCli'] code: 'MODULE_NOT_FOUND' }

Looks like your Karma installation is broken. Try to reinstall Karma plugin.


Please file an issue in the WebStorm issue tracker if reinstallation doesn't help.

.
SergeySimonchik
2013-10-16 15:29:34
Fixed.
.
123>