... This is what I've done: We only have to support IE 5.5+ so I used xmlHttp to do a request to a servlet that would wait for a specified amount of time. It...
I checked with the moderator and he mentioned it would be okay for me to post this. We would like someone specifically with jsUnit experience so I thought it...
I played a little bit trying to get the Palm WebBrowser 2.0 simulator to run JSUnit, but didn't have much success. I'll also try the Internet Explorer 5.5 for...
1. There is a problem on line 293 of JsUnitCore.js that raises an exception when displaying the test files in the browser. The following change will avoid the...
... Yes, I've seen that cause problems and intended to submit this for the next release. if (top && top.xbDEBUG && top.xbDEBUG.on && top.testManager) ... The...
... I've only tested with PDA simulators. I believe the browser on the Palm simulator has a 306x276 pixel content area. The Win CE emulator can be configured...
Hello everyone, I tried to use JSUnit in Mozilla 1.3 to test a library I wrote. I got the JSUnit program setup, and it finds the page, but no unit tests. I...
A follow up: I figured out that Mozilla can only handle one script element per page (why? I dunno). Therefore, if I place scripts before the test scripts code,...
Hello, I'm using JsUnit for my testing, and it's great. However, I'm confused as to the correct usage of the "fail" function. I tried doing the following: ...
Hi Amanda, ... Edward's JsUnit is throwing a JsUnitException instance. So you've to check in the catch statement for this type of object: try{ fail("Should...
I am new to Unit Testing and jsunit. Is there a tutorial site where I can learn how to apply jsunit to my ASP/Jscript application to achieve unit testing. ...
Other than the few examples on www.jsunit.net, there is no tutorial for JsUnit yet. However, I am in the process of writing what may turn out to be a short...
Hello together, How does the example "Test Runner Online" work on the server http://www.edwardh.com/jsunit/ ? What or witch steps does it need for to configure...
All you should need to do is download and unzip jsunit on a machine where it is exposed through a webserver. Then when accessing testRunner.html over HTTP,...
We generate some fairly complex HTML using our java servlet. I'm a long term junit user, but new to jsunit. Since it looks like you have to have the jsunit...
Yes, that's how I do it. I have a files called "testsForPageX.js", which contain a bunch of Test Functions for page X (a fragment of JavaScript). Then from...
function testAlpha() { info("Alpha 1") setValue("criteria","levelCount","2") setValue("criteria","itemCount", "1") info("Alpha 2") } When this test runs, I get...
The function is "inform", not "info". This has caused confusion a few times, so I'm going to add an "info" function to the next release. (It will just call...
Are suites not working at all for you, or is it just this particular one? What exact browser/platform are you running on? - Edward ... From: "dcorbin_work"...
It's just that one. I tried one from the tests, and it works fine. ... one? ... won't ... function" ... src="/home/dcorbin/projects/cms/Automate/target/we ...
I seem to have tremendous problems with timeouts. I have a page which loads by itself just fine. But when I try to run it in the TestRunner, all I get is a...
I get this in Mozilla (4 times) whenever I run a test. I thought I could correct it by changing where certain LINK tags are written out to have a type, but it...