New to JSunit. Downloaded the JSUnit source. When I try to build to the standalone_test target, I get the following - please advice: Microsoft Windows XP...
... ... The junit task in Ant requires the location of JUnit.jar to specified with a -lib switch. I believe earlier versions may have also been able to pick...
Hmmm, thanks. So from this I assume: 1.) the junit.jar that comes with the jsunit distribution ( in <JSUNIT_HOME>/java/lib ) is not the same junit.jar from...
OK. So standalone runs and the JSUnit test browser window is spawned, but the test(s) don't appear to get executed, the Acceptor ServerSocket is timed out and...
... The proper assumption is that I gave you generic Ant advice from the hip without researching the specifics of the use of Ant and JUnit within JSUnit. I...
BR>> Hmmm, thanks. BR>> BR>> So from this I assume: CA>The proper assumption is that I gave you generic Ant advice from the CA>hip without researching the...
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...