Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 138192

What if anything has superseded JsTestDriver as an Eclipse plugin?

$
0
0

I'm following a great book on JS TDD, called Test-Driven JavaScript Development.

It dates from 2009 but I still want to follow along with it. It has just introduced JSTestDriver, and the actual Java jar file still works fine at the CLI.

Unfortunately it appears that an Eclipse plugin no longer exists. "New software" link http://js-test-driver.googlecode.com/svn/update/ is dead.

The author of the book, Christian Johansen, goes into a few explanations about why he's not keen on headless browsers, but stresses that using real-world browsers with JSTestDriver is nonetheless fast.

No doubt I can just carry on running these tasks from outside Eclipse but my assumption is that people who were using JSTestDriver 8 years ago are now using some other framework in Eclipse which has all the strengths of JSTD, and more. I am aware of Mocha + Chai + Sinon, but I'd rather be dealing with the simple successor framework for the moment, if there is one, and also (as a newb in this area) Mocha seems as far as I can understand things to have been designed primarily for non-browser testing.

I stress the fact of using Eclipse (currently "2019-06"). I am absolutely dead set against using any other IDE.

I have in fact now set the thing up as an "external tool" from within Eclipse. But no doubt a plugin would be better. For one thing, it appears that with that plugin it was possible to configure things so that tests get run every time the JS app code files get saved.


Viewing all articles
Browse latest Browse all 138192

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>