This example in the power point did not work for me. To get the test to pass I had to alter the method as follows: function multiplyAndAddFive(arg1, arg2) { ...
Has anyone used jsunit to run tests via vmware? For example, I'm running vmware on my Mac under OS/X in order to test MS Win/IE. Can this configuration be...
I am a newbie to jsunit and unit testing in general. I wonder if it is possible to use jsunit to test a JS module that sets and alters both browser cookies...
... I wanted to update my post to indicate that after further reading I now know that jsunit is well-suited to instantiate multiple OS/browser combinations....
JsUnit is designed to automate JavaScript, not browser behavior. It is actually impossible to activate browser behaviors from JavaScript as those things would...
Hello *, I searched this mailinglist and the documentation, but couldnt find a working example, that shows how to setup a JUnit Testcase, that starts a JsUnit...
Look at the maven support for javascript that includes lanuching JsUnit tests http://mojo.codehaus.org/javascript-maven-tools/ The source code contains a...
Hello Nicolas, Maven seams to have an amazing support for running these tests, but the file you mentioned has of course a lot dependencies to mavens mojo. It...
Re: message about main class not found: Move jsunit to a directory without spaces e.g. C:\jsunit. This is a bug in the plugin on Windows. Can someone fix it?...
This thread can be closed...since my initial post, I've learned that it's easy to delete cookies directly thru javascript by setting the cookie with an...
I remember reading not long ago that JsUnit 2.2 has implemented a solution for IE using some native browser object for finding test function names. ... From:...
Hi list, is it possible to use (human readable) strings as test function names in JSunit like in the below example from crosscheck? "test: Ball should be a...
... It should be. Try window["test: something"] = function() {...} But the proper way is to put human-readable text into the optional parameter to the assert...
Hello all, I have JsUnit running beautifully in a continuous integration environment, but I'd really like to get the eclipse plugin working, so my team members...
The latest version (2.2.alpha containing the fix in IE that allows tests to be specified in external scripts) does not appear to report test results when using...
Does anyone have sample code to show how to set up JsUnit to test multiple browser/OS combinations? There is little documentation on the jsunit website nor...
... You don't need any code to set up JsUnit to test multiple browser/OS combinations. You just need to edit the build.xml file that comes with JsUnit, install...
The trunk seems to have fixed the issue - thanks! I've fixed a couple of issues in the mock timeout library (i.e. fixing it for the scenario where timeouts /...
I am trying to execute my JSUnit test from a separate web server. The idea is to have a shared web server with the JSUnit runner installed and developers...
Sounds like it is most likely to do with cross site scripting - i think if you are serving the jsunit scripts for your test page from a different server to...
Hi Erik, I am finally able to get back to figuring out this jsunit stuff. Thanks for your suggestions. Still, re: multiple OS¹s ‹ I use VMWare to run...
... Thanks for ... different ... VMWare ... Firebug, ... You'll want to run a JsUnit server on each of those instances. In the build.xml file on each server,...
Hi does anyone know of a plugin or something for JSUnit and Bamboo? If a test fails in JSUnit I want the continuous build to know..and possibly fail. I can...
Hello, does anyone know if it's possible to use the latest version of JUnit (4.x) with JSUnit 2.2 alpha? I need to upgrade my JUnit for other tests. Thx!...
Well, two arrays (or any other non-primitive objects) in javascript aren't equal, even if they contain the same values, unless they are actually the same...