Closed GoogleCodeExporter closed 8 years ago
Here's the content of the generated jsTestDriver.conf:
# Generated by IDEA
basepath: ../../../../../Users/ssc/Code/Sandkasten-JavaScript/jstd-helloworld
load:
- src/greeter.js
- src-test/greeter_test.js
It's generated in /private/var/folders/wH/wHKOnUtsH9CY-RCU71mTK++++TI/-Tmp-,
and going "up" five times ends up in "/private", not "/".
Original comment by stefan.s...@googlemail.com
on 20 Jul 2011 at 7:49
@stepan: thank you for the feedback!
Is /var directory a symlink to /private/var directory on your Mac?
When you run test javascript file (greeter_test.js from the above example)
first time via context menu (or Ctrl+Shift+F10 shortcut), temporary Run
Configuration is created and configured with default parameters.
One of such parameters is JsTestDriver configuration file location.
Current version of the plugin do not make attempt to find already existent
suitable JsTestDriver configuration file (jsTestDriver.conf from the above
example). Temporary created Run Configuration is configured with automatically
generated JsTestDriver configuration file, stored in a temporary dir.
To use 'jsTestDriver.conf' as a JsTestDriver Configuration file you can create
New JsTestDriver Run Configuration and select 'jsTestDriver.conf' as a
'Configuration file'.
Or you can edit already existent Run Configuration that is configured to use
generated JsTestDriver Configuration file, change 'JsTestDriver Configuration
File' from 'Generated' to 'Custom' and select jsTestDriver.conf as a
'Configuration file'.
Original comment by Sergey.S...@gmail.com
on 23 Jul 2011 at 8:44
Hello Sergey,
yes, /var is a symlink to private/var:
$ cd /
$ dir var
lrwxr-xr-x@ 1 root wheel 11 24 Jul 07:07 var -> private/var
I know that I can explicitly create a JsTestDriver run configuration.
It would just be great if one could simply do a ctrl+shift+R on an JS file,
too...
Kind Regards
Stefan
Original comment by stefan.s...@googlemail.com
on 26 Jul 2011 at 7:27
Original comment by Sergey.S...@gmail.com
on 20 Sep 2011 at 2:52
Fixed version of the plugin is 1.3.6.
Original comment by Sergey.S...@gmail.com
on 28 Sep 2011 at 4:39
Original issue reported on code.google.com by
stefan.s...@googlemail.com
on 20 Jul 2011 at 7:30Attachments: