JSTestDriver Plugin

Products: IntelliJ IDEA, RubyMine, PhpStorm, PyCharm, AppCode, Android Studio

Vendor: Google, JetBrains

Website: https://confluence.jetbr...stDriver+IntelliJ+plugin

Source code: https://github.com/JetBr...tree/master/JsTestDriver

License: http://www.apache.org/licenses/LICENSE-2.0

Bugtracker page

Allows running, debugging JavaScript unit tests and measure test coverage.
Downloads: 103913
Rating:
Participated in rating: 6
Version Compatible builds Date
141.1108 141.1108 — 142 13.05.2015 Download
141.471 141.471 — 142 01.04.2015 Download
141.2 141.2 — 142 05.03.2015 Download
140.2633 140.2633 — 141 21.02.2015 Download
140.2109 140.2109 — 141 03.02.2015 Download
140.1669 140.1669 — 141 13.01.2015 Download
139.544 139.544 — 140 25.11.2014 Download
140.727 140.727 — 141 25.11.2014 Download
139.505 139.505 — 140 21.11.2014 Download
139.1 139.1 — 140 10.10.2014 Download
138.1879 138.1879 — 139 28.08.2014 Download
138.1684 138.1638 — 139 19.08.2014 Download
138.317 138.255 — 139 26.05.2014 Download
135.941 135.484 — 136 23.05.2014 Download
137.34 137 — 138 29.04.2014 Download
138.21 138 — 139 29.04.2014 Download
136.1567 136.1270 — 137 09.04.2014 Download
136.1141 136 — 137 12.03.2014 Download
135.425 135 — 136 12.03.2014 Download
134.1347 134.1346 — 135 27.02.2014 Download
134.1341 134.1327 — 134.1342 27.02.2014 Download
134.1163 134.1160 — 135 18.02.2014 Download
134.1039 134.1015 — 135 10.02.2014 Download
131.814 131.346 — 132 01.02.2014 Download
134.686 134.670 — 135 14.01.2014 Download
134.307 134.297 — 135 13.12.2013 Download
133.235 133.193 — 134 12.12.2013 Download
133.74 133 — 134 19.11.2013 Download
134.31 134 — 135 18.11.2013 Download
132.944 132 — 133 05.11.2013 Download
130.1630 130.1434 — 131 03.09.2013 Download
131.7 131 — 132 28.08.2013 Download
130.1365 130.1365 — 131 29.07.2013 Download
130.1236 130 — 131 16.07.2013 Download
129.884 129.1 — 130 03.07.2013 Download
127.102 127 — 127.* 13.03.2013 Download
126.58 126 — 126.* 28.01.2013 Download
125.5 125 — 125.* 22.01.2013 Download
124.586 124 — 124.* 21.01.2013 Download
123.2 123 — 123.* 22.11.2012 Download
121.390 121.351 — 121.* 04.11.2012 Download
121.215 121 — 121.350 24.10.2012 Download
122.566 122 — 122.* 16.10.2012 Download
117.746 117 — 118 15.07.2012 Download
119.16 119.16 — 119.* 10.07.2012 Download
120.95 120.88 — 121 09.07.2012 Download
1.3.13 107.105 — 107.778 29.05.2012 Download
1.4 111 — 113 21.02.2012 Download
1.4 113 — 116 21.02.2012 Download
1.3.10 110 — 112 23.11.2011 Download
1.3.9 106 — 111 10.10.2011 Download
1.3.2 99 — 106 07.05.2011 Download
1.2.2b 96.1224 — 102.* 29.12.2010 Download
1.2.2 93.13 — 95.* 25.09.2010 Download
42 updates are hidden show all updates

Recent change notes

Plugin version: 141.1108, patched JsTestDriver-1.3.5

Comments:

12>
SergeySimonchik
2012-05-23 18:50:23
Hi thombrando,

Thanks for the feedback.

Unfortunately we couldn't reproduce the bug.
Please reinstall the plugin and try again.
If you have the problem after reinstallation, please file an issue in the http://youtrack.jetbrains.com/issues/WI#newissue=yes (select JsTestDriver as a subsystem) and we'll discuss it further.
.
thombrando
Rated:
2012-05-19 07:49:10
I'm running IDEA 11.1.2 on Mac OS X 10.7.4. If I enable the JSTestDriver plugin, I can't open any projects or create new projects. Attempting to open a project I created before enabling the plugin produces no visible effect and logs the following to idea.log:


2012-05-18 23:40:40,789 [2130205] ERROR - ij.components.ComponentManager - Can't find bundle for base name com.google.jstestdriver.idea.MessageBundle, locale en_US
java.util.MissingResourceException: Can't find bundle for base name com.google.jstestdriver.idea.MessageBundle, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:705)
at com.google.jstestdriver.idea.MessageBundle.getBundle(MessageBundle.java:51)
at com.google.jstestdriver.idea.MessageBundle.message(MessageBundle.java:42)
at com.google.jstestdriver.idea.PluginResources.getPluginName(PluginResources.java:28)
at com.google.jstestdriver.idea.execution.JstdConfigurationType.(JstdConfigurationType.java:34)

...

at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:145)
2012-05-18 23:40:40,790 [2130206] ERROR - ij.components.ComponentManager - IntelliJ IDEA 11.1.2 Build #IU-117.418
2012-05-18 23:40:40,790 [2130206] ERROR - ij.components.ComponentManager - JDK: 1.6.0_31
2012-05-18 23:40:40,790 [2130206] ERROR - ij.components.ComponentManager - VM: Java HotSpot(TM) Client VM
2012-05-18 23:40:40,790 [2130206] ERROR - ij.components.ComponentManager - Vendor: Apple Inc.
2012-05-18 23:40:40,790 [2130206] ERROR - ij.components.ComponentManager - OS: Mac OS X
2012-05-18 23:40:40,790 [2130206] ERROR - ij.components.ComponentManager - Last Action:
2012-05-18 23:40:40,790 [2130206] ERROR - ij.components.ComponentManager - Assertion failed: Can't instantiate component for: class com.intellij.execution.RunManager
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:98)
at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponent(ComponentManagerImpl.java:127)
at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:107)
at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:342)
at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:85)

...

at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:145)
2012-05-18 23:40:40,792 [2130208] ERROR - ij.components.ComponentManager - IntelliJ IDEA 11.1.2 Build #IU-117.418
2012-05-18 23:40:40,792 [2130208] ERROR - ij.components.ComponentManager - JDK: 1.6.0_31
2012-05-18 23:40:40,792 [2130208] ERROR - ij.components.ComponentManager - VM: Java HotSpot(TM) Client VM
2012-05-18 23:40:40,792 [2130208] ERROR - ij.components.ComponentManager - Vendor: Apple Inc.
2012-05-18 23:40:40,792 [2130208] ERROR - ij.components.ComponentManager - OS: Mac OS X
2012-05-18 23:40:40,792 [2130208] ERROR - ij.components.ComponentManager - Last Action:
2012-05-18 23:40:40,793 [2130209] ERROR - ij.components.ComponentManager - Can't find bundle for base name com.google.jstestdriver.idea.MessageBundle, locale en_US
java.util.MissingResourceException: Can't find bundle for base name com.google.jstestdriver.idea.MessageBundle, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:705)
at com.google.jstestdriver.idea.MessageBundle.getBundle(MessageBundle.java:51)
at com.google.jstestdriver.idea.MessageBundle.message(MessageBundle.java:42)
at com.google.jstestdriver.idea.PluginResources.getPluginName(PluginResources.java:28)
at com.google.jstestdriver.idea.execution.JstdConfigurationType.(JstdConfigurationType.java:34)

...

There are many more stack traces in the log for the same timestamp, but this is already long enough.

If I disable the plugin and restart IDEA, everything is fine. Except I can't run my JavaScript tests anymore.

Any help would be greatly appreciated. I've found nothing useful on JetBrain's or Google's developer forums.

Thanks.

Thom
.
shawnt
Rated:
2012-01-10 18:29:34
please add integrated debugging support for tests - that would let me start getting serious about TDD in javascript.
.
SergeySimonchik
2011-05-07 16:34:38
The wiped Global Libraries bug has been fixed in IDEA v10 .. v10.0.3 inclusively.
Plugin fix version is 1.3.2.
.
SergeySimonchik
2011-05-06 11:52:14
The wiped Global Libraries bug is already fixed in IDEA v10.5 http://youtrack.jetbrains.net/issue/IDEA-65699 .
JsTestDriver plugin's fix version is 1.3.1.1.
Sorry for the inconvenience.
.
Anonymous
Rated:
2011-05-06 00:45:06
After I installed the plugin, all my Global Libraries were wiped out and only the newly installed "JsTD Assertion Framework" remained. Uninstalling the plugin does not make the libs reappear nor remove that lib, so you have to delete it manually. If possible, try out the plugin on a separate machine; I've lost hours of work by trying it out. :-(
.
stefanscheidt
2011-03-08 12:53:36
I would love to help, but I have no knowledge about writing IntelliJ Plugins at all. Sorry.

Stefan
.
jakeherringbone
2011-03-06 04:32:02
@Stefan: no, I don't have a fix for the new IDEA yet. I need to find some time to build the plugin at head, and do some testing with current versions of all the IDE's.

Even if you build and install from source, it looks like there's an API change which needs fixing. It's probably easy :)
.
stefanscheidt
2011-03-06 00:09:33
Hi,

will Version 1.2.2b solve the problem with IntelliJ 10.0.2 (http://code.google.com/p/js-test-driver/issues/detail?id=209)?
If so, how can I manually install it?
Installation from the plugin repository will only provide 1.2...

Regards
Stefan
.
jakeherringbone
2011-03-01 21:46:01
Thanks Jon. Wow, JetBrains has been going nuts with new major version numbers, I haven't been able to keep up. The plugin is only marked until-build 102.9999 so I guess you had to manually install it. From the stack trace, it looks like there's a breaking API change again. :(

Please follow http://code.google.com/p/js-test-driver/issues/detail?id=209
.
Anonymous
2011-03-01 19:13:42
Hi, sorry meant to add the Intellij build number to the last post. It's 103.72

thanks
Jon
.
Anonymous
2011-03-01 19:11:08
Environment:

* IDEA 10.0.2
* Windows 7
* JDK 1.6.0_23


Steps to reproduce:
1. Downloaded and installed jsTestDriver plugin.
2. Opened panel, started jsTestDriver server and captured browser.
3. Created a new run configuration, pointing to jsTestDriver.conf file
4. Clicked run, the following error was generated:

com.intellij.execution.testframework.sm.runner.SMTRunnerConsoleProperties.(Lcom/intellij/execution/configurations/RuntimeConfiguration;)V: com.intellij.execution.testframework.sm.runner.SMTRunnerConsoleProperties.(Lcom/intellij/execution/configurations/RuntimeConfiguration;)V
java.lang.NoSuchMethodError: com.intellij.execution.testframework.sm.runner.SMTRunnerConsoleProperties.(Lcom/intellij/execution/configurations/RuntimeConfiguration;)V
at com.google.jstestdriver.idea.TestRunnerState.execute(Unknown Source)
at com.intellij.execution.impl.DefaultJavaProgramRunner.doExecute(DefaultJavaProgramRunner.java:88)
at com.intellij.execution.runners.GenericProgramRunner$1.execute(GenericProgramRunner.java:85)
at com.intellij.execution.impl.ExecutionManagerImpl$2.run(ExecutionManagerImpl.java:157)
at com.intellij.openapi.project.DumbServiceImpl.runWhenSmart(DumbServiceImpl.java:96)
at com.intellij.openapi.project.DumbService$1.run(DumbService.java:76)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:332)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:505)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
.
jakeherringbone
2011-02-27 19:58:10
I think you should update the plugin within the IDE's plugin manager. If it doesn't offer the most recent version, then maybe look in Help -> About for the build number of your IDE, if it's greater than 102.9999 then I have to push a new release.
.
Anonymous
2011-02-27 19:19:23
Hi, i have Intellij 10.0.2 which comes with version 1.2 of the plugin. I've downloaded 1.2.2b from this page but how to I update the version in Intellij?
Hopefully this will fix the greyed-out run config button?
thanks
.
Anonymous
2011-02-09 06:37:26
We\'ve been running into issues with IntelliJ 10 and the jsTestDriver plug-in 1.2.2b. Upon running and updating the test javascript files, sometimes the javascript file does not get picked up by jstestdriver browser slaves. Sometimes this results in Test Not Found, and some other times it seems to be running an out of date version of the test script.

Simply editing the test javascript file would result in the aforementioned issue, it is however intermittent.

Anyone else running into similar problems?
.
12>