I try to explain what I should do: I have to make some test on web pages; so I need to load on a variable the testing page; to do that I thought to behave like...
Normally, you would break out the JavaScript code you want to test into a separate .js library that you include on your web pages. This file you then also...
Yes it is, but doesn't avoid the trouble of the window! I try to explain the better I can: what I want to test is a client-side application written in...
If I understand you correctly, I would recommend you to break out the parts of your client-side application that contains the logic you want to test (the...
Ok, you understood what I tried, but my trouble focused on how I can set up the "dummy" page into my test page to feed application without prompting the dummy...
Hi, Marco. I suggest that you 'short circuit' your web page fetching - 'mock' it (mocking means making code that looks like the thing you try to test, but it...
I have a similar problem with XMLHTTP async testing problem. So, I changed _runTest method in jsUnitTestManager.js to check setUpPageStatus for every test...
... There's trouble with this change: 1) If you have a setUpPage/setUpPageComplete method, it will now be run with *every* test, not just at the beginning of...
Since it looks like many people here have had to kludge in something to test AJAX and other asynchronous JavaScript events, I thought I'd mention one of my...
Hi, I use eclipse as my primary IDE, mostly because of unit testing plugins for python, php, and ruby.... I just like being able to just write the test without...
... There's something that looks like an eclipse plugin (or the start of one?) in the CVS repository... but I have no idea if it works or if you'd want to use...
... The "solution" I listed turns out not to really be a solution at all on most browsers. The reason why JavaScript has no native synchronous sleep()...
Yes, I don't really care if setUpPage() runs everytime or not. I'm not using isDataLoaded() You're right, The setUpPage timeout will fire eventually if ...
... I meant the "isDataLoaded" function from your e-mail here: http://groups.yahoo.com/group/jsunit/message/458 That's the function you wrote that does the...
hm.. You're right. :) I forgot what I wrote. I'm going to change my test so I don't use isDataLoaded(). Instead, I will update the setUpPageStatus in a...
Hi, We are using JSUnit in our overnight unit test procedure, testing a reasonably complex piece of client code, and found that some changes were necessary in...
Hello all, A JsUnit Eclipse plugin is currently in development; in fact, an alpha version is getting near completion. One thing we need in order to release is...
1. I have a problem with the client-side; if I execute tests in the onload event using var=new HTMLTestRunner(new StringWriter());runner.start("--classic"), as...
Hello, ... first I must point out, that there are two JsUnit libraries, one from Edward Hieatt and one from me. Edward's is much more appropriate for Java...
... from Edward ... scripts, ... tests (I ... test pure ... a lot ... JsUnit. ... JavaScript ... form of a ... must ... and you ... create the ... Scripting ...
I have started using JSunit for testing very recently. Instead of invoking the test runner from a local file, I put my jsunit folder and all my test files in a...
... selenium. http://www.openqa.org/selenium/ ... side and server side use of JsU ... in the ... engine ... pages. I have ... JavaScript ... server-side ... ...
Hi, ... It is quite easy. See my description below and have a look at the class hierarchy - this should make things clear. First of all my JsUnit is quite a...