Hi! I was wondering if anyone can point me to a good website where I can obtain jsunit examples? Or if you have anything that can help me learn it just email...
Can someone please give me a url or document on a quick setup for JSUnit server setup on windows. I want to automate testing using JSUnit. Also, I want to...
Hi guys, I am trying to create a simple ASP.NET <http://ASP.NET> page that will collect my jsUnit test results for various browsers. I am parsing the results...
Hi all, I've been using jsUnit and now in Firefox (Mozilla) I get an alert "name not defined" on the second execution of a test script in a browser window. It...
Hi All, I am having a problem with jsUnit under mozilla. The app in question uses Ajax specifically DWR. The problem is on the second execution of the tests....
Hi, I just came across JSUNIT. I think it's a great idea, but from what I have seen, it seems like you have to have the testing functions on the same pages as...
You could create a .js file that has the code you want to test and include it on both your server side page and your testing page. ... Pain is the fire that...
Please provide an example of the script to run JSUNIT via the file:/// command and to test pages on a remote web page? ... what ... on ... leaving the body....
Hi I'm new with JsUnit and I need to test asynchronous behavior loading pages that aren't on my local file system. I tried to take advantages with JsUnit...
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...