No Result Output In Console

62 views
Skip to first unread message

cfchris

unread,
Feb 8, 2012, 4:23:46 PM2/8/12
to JsTestDriver
I can run my tests in Eclipse. But, when I double-click the tests, I
don't see any results. If I run the test repeatedly, empty lines are
added to the console. The console is open and has a title of
"JSTestDriver".

I am running JS Test Driver version 1.1.1.e in Eclipse Version:
3.7.1.r37x_v20110729-9gF7UHOxFtniV7mI3T556iZN9AU8bEZ1lHMcVK

Initially I had some errors with paths in my config file. Those showed
up in the log. Nothing new is showing up in the log. Any ideas?

Fredrik Wendt

unread,
Feb 8, 2012, 4:55:37 PM2/8/12
to js-test...@googlegroups.com

If I'm not mistaken, you get this when you combine incorrect load
calls. JSTD with newer versions support load and test, while the version
bundled with the plugin only support load (in the config file). I might
be totally wrong here but I had an issue that went along this line ...

/ Fredrik

gso

unread,
Apr 10, 2012, 5:59:12 AM4/10/12
to js-test...@googlegroups.com
Did you ever find a fix for this - same problem myself.  Have changed the config as suggested but to no avail.  Version 1.3.4.e of the plugin, Indigo service release 2.

Cory Smith

unread,
Apr 10, 2012, 12:34:08 PM4/10/12
to js-test...@googlegroups.com
Have you updated to the latest?


On Tue, Apr 10, 2012 at 5:59 AM, gso <osler....@gmail.com> wrote:
Did you ever find a fix for this - same problem myself.  Have changed the config as suggested but to no avail.  Version 1.3.4.e of the plugin, Indigo service release 2.

--
You received this message because you are subscribed to the Google Groups "JsTestDriver" group.
To view this discussion on the web visit https://groups.google.com/d/msg/js-test-driver/-/WSdw96k9MMkJ.

To post to this group, send email to js-test...@googlegroups.com.
To unsubscribe from this group, send email to js-test-drive...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/js-test-driver?hl=en.

gso

unread,
Apr 10, 2012, 1:59:50 PM4/10/12
to js-test...@googlegroups.com
JSTestDriver on the download page appears is version 1.3.4.b, the Eclipse plugin is showing as 1.3.4.e (installing following the instructions on the plugin wiki page from http://js-test-driver.googlecode.com/svn/update/).

`Help > Check for updates` did not find any updates.

I could do to run some tests!  Is there a workaround perhaps, I could do if at all possible not to have to open a shell up (am using a somewhat aggressively locked down Windows 7 machine at the moment).

Cory Smith

unread,
Apr 10, 2012, 2:05:49 PM4/10/12
to js-test...@googlegroups.com
SInce I'm not sure what is wrong, it's hard to figure out a workaround.

What does your config look like?

Does a simple hello world work?

--
You received this message because you are subscribed to the Google Groups "JsTestDriver" group.
To view this discussion on the web visit https://groups.google.com/d/msg/js-test-driver/-/REJnyDo0HNwJ.

gso

unread,
Apr 10, 2012, 2:53:18 PM4/10/12
to js-test...@googlegroups.com
Thanks for the quick response.

The conf file looks as follows, do I need a 'plugin' entry?

server: http://localhost:42442
 
load:
  - js/*.js
  - test/*.js


I'll have chance to set up a quick hello world test in a few hours and will duly post code and results.


On Tuesday, April 10, 2012 7:05:49 PM UTC+1, Cory Smith wrote:
SInce I'm not sure what is wrong, it's hard to figure out a workaround.

What does your config look like?

Does a simple hello world work?

On Tue, Apr 10, 2012 at 1:59 PM, gso ... wrote:
JSTestDriver on the download page appears is version 1.3.4.b, the Eclipse plugin is showing as 1.3.4.e (installing following the instructions on the plugin wiki page from http://js-test-driver.googlecode.com/svn/update/).

`Help > Check for updates` did not find any updates.

I could do to run some tests!  Is there a workaround perhaps, I could do if at all possible not to have to open a shell up (am using a somewhat aggressively locked down Windows 7 machine at the moment).

On Tuesday, April 10, 2012 5:34:08 PM UTC+1, Cory Smith wrote:
Have you updated to the latest?


--
You received this message because you are subscribed to the Google Groups "JsTestDriver" group.
To view this discussion on the web visit https://groups.google.com/d/msg/js-test-driver/-/REJnyDo0HNwJ.

To post to this group, send email to js-test-driver@googlegroups.com.
To unsubscribe from this group, send email to js-test-driver+unsubscribe@googlegroups.com.
On Tue, Apr 10, 2012 at 1:59 PM, gso ... wrote:
JSTestDriver on the download page appears is version 1.3.4.b, the Eclipse plugin is showing as 1.3.4.e (installing following the instructions on the plugin wiki page from http://js-test-driver.googlecode.com/svn/update/).

`Help > Check for updates` did not find any updates.

I could do to run some tests!  Is there a workaround perhaps, I could do if at all possible not to have to open a shell up (am using a somewhat aggressively locked down Windows 7 machine at the moment).

On Tuesday, April 10, 2012 5:34:08 PM UTC+1, Cory Smith wrote:
Have you updated to the latest?


--
You received this message because you are subscribed to the Google Groups "JsTestDriver" group.
To view this discussion on the web visit https://groups.google.com/d/msg/js-test-driver/-/REJnyDo0HNwJ.

To post to this group, send email to js-test-driver@googlegroups.com.
To unsubscribe from this group, send email to js-test-driver+unsubscribe@googlegroups.com.

gso

unread,
Apr 11, 2012, 3:01:20 AM4/11/12
to js-test...@googlegroups.com
helloworld.js :

function Hello() {
this.who = undefined;
}

Hello.prototype.world = function() {
this.who = "World";
return this.who;
};

jsTestDriver.conf :

 
load:
  - js/*.js
  - test/*.js

hellotest.js :

HelloTest = TestCase("HelloTest");

HelloTest.prototype.testWorld = function() {
  var greeter = new Hello();
  assertEquals("World", greeter.world());
};

The server starts as expected and the JSTestDriver window reports the number of tests and a count of any failed tests as expected.  However there is no sign of any test results view or tree - although a console window does open with the  JSTestDriver view (with a JSTestDriver title within the window).

I shall attempt to do the same from the command line when I get a few minutes later on today.

The above btw is all running on Windows 7.


Reply all
Reply to author
Forward
0 new messages