I use the Jasmine framework for testing and JSTestDriver. I also configured both Hudson and TeamCity for CI as part of the evaluation, although I ultimately decided to install TeamCity.
Jasmine is a very nice BDD framework that also provides mocking and gating functionality.
The JSTestDriver server allows any browser to connect to it, whether local or remote, as Vojta already pointed out. I managed to connect browsers from Windows and MAC computers, for example, as well as iPhone ... it is quite possible to connect other mobile browsers if mobile development tickles your imagination. JSTestDriver will create JUnit XML result files that either Hudson or TeamCity will be able to parse and report.
As Vojta noted, the Eclipse plugin is available for JSTestDriver. I recently switched to WebStorm 1.0, and now 2.0 (the IDE from JetBrains), and the plugin exists for this IDE, although it is somewhat erroneous. WebStorm is excellent, by the way, regarding the development of JavaScript.
We also write server-side JS code, and Jasmine also did a great job of this.
I installed and configured JsTestDriver / TeamCity in the Amazon cloud, and I can run Jasmine tests without problems.
In short, between the three solutions (Jasmine, JSTestDriver and TeamCity) there are many plugins / adapters / recipes that allow any number of settings or configurations. This does not mean that other combinations will not work ... just for me, these combinations have proven themselves so far.
Ireney Berezniak
source share