Compuware (Numega) DevPartner Studio can do this in IE-only. There is a "Web Script Coverage" utility that you run, which opens IE. Then you run your jsUnit...
I'm just wondering if this is possible. I have a web application with javascript that I need to test. When it loads up it will load a bunch of objects and a...
Whenever I try to run a test in IE, it generates a javascript error "Permission denied", Line 356. I am assuming that this refers to line 356 of JsUnitCore.js...
I wonder if you're running over HTTP with your test HTML and JS files deployed on a different domain from your JSUnit installation. If so, you need to change...
Hi , I am new in this jsunit tests, I wonder if there are other website besided the one to download the jscript framework, i need some very basic examples of...
There is the JSunit web site put up by Edward - http://www.edwardh.com/jsunit/ There are examples here: http://www.edwardh.com/jsunit/examples/example1.html To...
Thanks for the response, Edward, but both the HTML under test and the JS files are being read off my local file system under the "file:..." protocol....
Hmm. Is it possible that your code really is doing something that causes a Permission denied error? If you like, you could send me the code (or enough of it...
Thanks for your reply Justin, I think I understand better now... but tell me something. So in the case that I wanted to check not email input but other input...
I've already hacked my jsUnit about to give myself a checkbox on the main window to stop jsunit from catching thrown errors - the next step will be to get it...
I tried sending this previously from my gmail account, but wasn't able to post as I had subscribed from a different account. Here is my reply again. Any help...
Guess what? It turns out that the reason my tests wouldn't run under IE is because I had to define exposeTestFunctionNames(). This appears to be counter to...
My apologies: I should have read the last paragraph: <quote>Of course, test pages can include any other .js library files and can contain any other functions....
Hi, Edward: I started a jsunit server on remote machine. On my local jsunit I changed "remoteMachineURLs" value=http://remoteMachineIP:8080 in build.xml and...
Hi, First of all, jsunit rocks. Having the ability to run my javascript tests when I run my junit tests via ant makes javascript much more usable in an agile...
I haven't heard of this problem before. After the second browser runs the tests, you say it hangs. Is it hanging before or after it submits the results?...
The XML results page is what remains and the junit test just stops at that point - it never finishes. _____ From: Edward Hieatt [mailto:edward@...] ...
OK. I'm aware of a problem where Mozilla browsers don't always get closed after they submit results on certain OSs. I've not heard of the JUnit test then not...
Good news/bad news. It worked just fine. I cd'd to the jsunit directory, modified build.xml to include both browsers, ran "ant standalone_test" and both...
Edward - I found the problem. It works fine unless I use the "resultId" query parameter in the url string: This is fine: <property name="jsunit.url.ie" ...
Ah - you're quite right, there was a bug. I added a resultId parameter to StandaloneTestTest, and the test failed in the same way you noticed. I've checked...
Thanks for addressing that Edward. Personally (really - just speaking for me), I let junit overwrite the log files with any run anyhow. So issue 1 doesn't...
Correct me if I'm wrong, but I think you're asking whether you can programmatically (that is, inside JS tests) add to the XML file that is created when you...
Hi Edward, that would be exactly what I need. I want to capture all trace messages for the standalone test suite. What file it will go to is not important. ...
Edward, I sent this to you as an email, but I will post it here as well. Has anyone written a PHP wrapper for your test framework? We are looking for a...
Hi - I'm not sure I completely understand your question. PHP is a serverside scripting language, and JSUnit is for testing clientside JavaScript. Are you...
I can understand your confusion, but what I am looking for is fairly straight forward. We develop applications written in PHP tightly coupled with Javascript....