Hi, I'm running the browser based test runner inside the eclipse browser widget and testing time increases by about 0.3 seconds with each run. Here are my...
It's entirely possible. When I close the browser and restart the tests run fast again. I have 2 Gig ram on this machine, but since it's running inside the JVM...
I'm not surprised that Firefox 1.0.7, as packaged with fc3, leaks a bit. A lot of resource leaks were fixed in the 1.5 releases, so I perhaps grabbing the...
Oh Cool - I'll give it a shot! Thanks for the tip. Cheers, - Ole ... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo!...
Hi, How do I test UI widgets using JsUnit? I have java script codes which generate HTML widgets like textbox, radio, checkbox, etc dynamically, based on Ajax...
You'll want to simulate a response from the server. I assume you use an XmlHttpRequest object in your code. In your test, you can use the MockXmlHttpRequest...
I use both JsUnit and Selenium for testing my applications. You may want to take a look at Selenium (www.openqa.org) and how it tests UI components. That's how...
As I understand, using selenium, the UI can be tested from within the browser by using a test case written in HTML. This will basically test the overall flow...
Thanks Edward. Sounds good. But I don't have a "lib" folder in my JsUnit, and I don't have the jsUnitAjax.js file at all. Which version of JsUnit are you...
... Try getting the subversion trunk from sourceforge. http://sourceforge.net/svn/?group_id=28041 Though it's in development, it's pretty good harnessed with...
... Well, I may have misunderstood you. In original post you said you have widget generated in response to a request. So what I meant with using some of...
There are 2 broad of tests that people usually write for their applications: unit and functional. JsUnit is primarily aimed at unit testing - calling ...
Hi, Anyone know if it's possible to test for image onload event's. I saw this in the samples that came with jsunit: var aVar = null; function testOnLoadFired()...
I think I may have answered my own question on this. Suppose I wanted to test an asynchronous notification. The observer was notified 2 hours after the request...
I found the reason. Classpath setting was wrong. I downloaded the source and found some mismatch. open plugin.xml -> Runtime tab -> Classpath, lib/jdom.jar,...
Oh Cool - Nice work! Thanks for posting back. I'll give it a shot. Thanks again, - Ole ... __________________________________________________ Do You Yahoo!? ...
Hi guys, I have been using jsUnit for quite some time and I really enjoy it. It is an invaluable tool for any type of JavaScript development. I have been...
Hi, Are you familiar with setUpPage? It might help you here. Here's a quote from the documentation at jsunit.net: JsUnit supports another kind of setUp...
Hi, I'm new to jsUnit, and I'm trying to run it in XULRunner 1.8.0.4 (essentially a gecko-engine designed for standalone applications). When I open up...
Awesome! Thanks Edward! I'm posting my wait function -- maybe it will be of some use to others trying to use jsUnit with Atlas: //wait for Sys.Runtime to...
... I can offer a workaround: you can pass the test page as a parameter to the testRunner: file:///foo/bar/jsunit/testRunner.html?testpage=file:///foo/bar/ ...
Hi everyone, I'm using the Eclipse plugin 1.0_alpha3 and JsUnit 2.2_alpha18. Everything works fine, but trace messages (info[rm], warn, debug) do not appear in...
Tracing is output to a window while you're running the tests manually. The traces don't get written to any persisted logs or reported to Eclipse. We're...
Hi all, I am running some jsunit tests using ant which starts a Mozilla - firefox 1.5. And I realised that the build is successful if there are syntax errors...
If there are syntax errors that are "bad" enough such that the browser cannot parse the Test Functions, then the browser reports that there are no functions in...
For me, the following removed the Active Content blocking: Tools -> Internet Options -> Advanced. Look for Security section and check "Allow active content to...