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...
I created the Test page and tried running it from Test runner. Test Runner is unable to recognize the file. It says check that it exists. I have put Test...
Thanks for your answer, I would love to help guys Just tell me how Best regards Adam ... __________________________________________________ Do You Yahoo!? ...
I will try it on monday and I will tell you the result. Thank you for taking time to answer Adam. ... __________________________________________________ Do You...
I think your error is easy to solve. Try putting the jsUnitCore.js in the same directory as the html and then change your path on the html to be like this ...
Hi all, I was wondering if there are Mock objects in jsUnit? Because now I am creating empty objects in the test files and it is not optimal. Thank you all ...
Hi, We use mock objects in JsUnit a lot. I'm not sure exactly what you mean by "are there mock objects?", though. Javascript is a dynamic, loosely typed ...
Your answer was 100% what I was looking for thanks. Take care Adam ... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo!...
That looks great thanks. ... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around ...
Hi Adam, Many Thanks for your help!!! I copied the jsUnitCore.js file to the folder where my Testpage is residing. Added "<script language="javascript" ... is...
Hi Adam, Here is some more info - There are some sample tests that come with junit under tests folder. I tried running them from Testrunner and they ran...
Dear Anu, I tried you example and it works fine on my PC, I am not sure what is going on. Which internet explorer do you use and what OS? Try another explorer...
Hi Adam, As it worked for you. I tried re-installing jsunit and then restarted my machine and did the below exercise and it worked!!! Thanks for giving me the...