I was running 2.2alpha11 (the version linked to from the jsunit sourceforge page). I just checked out alpha21 from the SVN repository and Safari now passes all...
Did you ever get anymore information regarding this? I was having the same problem trying to run standalone_test on my Mac. Commenting out suite() in...
Hi: I'm trying to test a .NET DLL with JSUnit. In a standalone HTML document, the following markup creates an object named "xyz": <head> <object id="xyz" ...
where might i find instructions on using jsunit with eclipse? i downloaded and installed the plugin and the framework, but i'm not sure what to do next. ...
We're currently overhauling the documentation on the website, so there will be more information there soon. Is there a specific question you have about the...
brilliant! did as you instructed. thanks for your help. that was easy as pie. another question : is it possible to set up a build file so that i can auto-run...
I was just curious whether there's some way to have tests run automatically every time I save a file within a project. As an example, with cfcUnit, you can...
I haven't heard of anyone doing that, but it seems possible, since there's already an ant target that runs your tests. Anyone want to take a look at ...
hi all, i've got a test: function testWeightHasInvalidArguments() { try { var invalidWeight = new Weight(""); fail("should have thrown exception"); } catch(...
fail() throws a JsUnit exception, just as fail() in JUnit throws a JUnit exception. The trouble is that in JavaScript, exceptions aren't typed, so you can't...
You can type exceptions in JavaScript (see Code below), you can throw anything. If you want to find out, how to use dynamic type checking on function calls in...
Hi! I am looking for a solution to integrate jsunit with maven2. Searching the web pointed me to sweetdev RIA (http://sweetdev-ria.sourceforge.net/ ...
Hello everyone, I have spent the last day or two trying to resolve the following bug. When attempting to utilize a custom jsUnitTestSuite instance I run into...
Just subclass net.jsunit.StandaloneTest in your testsource, and set browserFileNames and url. Your subclass will be run by mavens normal test phase. ... ...
I haven't run into that specific problem, but one inconvenience with running jsunit tests is that the test files must be served from a machine on the same...
Hi, Does anybody know how to use JSUnit for testing functions written with asynchronous components? Specifically, I mean functions that either use the...
I've rigged my XHR functions to use a global constant to determine if they're asynchronous or not (using prototype here): var XHR = new Ajax.Request (url,...
Thanks for the tips, I'll check out the head from SVN and see if that solves the issues. I'm not attempting to do a distributed version at this point. I am...
JsUnit comes with libraries that address both issues: jsUnitMockTimeout.jsand jsUnitAjax.js (both in jsunit/lib). jsUnitMockTimeout.js mocks out setTimeout and...
All - Our cruise control build is failing with 2.2 alpha because a jasper compilation of the index.jsp page in the jsunit folder is failing with the following...
I'm having this same ClassDefNotFoundError issue, and can't seem to figure out why... Your attachment expired, and I'd be glad for a copy if you have the ...