As part of a "get something really simple running" effort to use jsUnit in the testing of Firefox, I made a change to jsUnitTestManager.js. If you set the...
Hmm, I guess you *could* do this, but I'd think you'd be better off using the usual JsUnit server. I would think that just setting things up the standard way...
... For some reason, I forgot about the server stuff. Though adding a few lines of javascript is a lot less work than trying to install ant and junit on our...
The JsUnit server framework also gives the ability to run on multiple browsers and multiple remote machines of varying OS running multiple browsers; you...
Being developers we often appreciate shortcut assignment keys to make life easier(read 'lazy' or 'more productive' depending on your point of view) Would it be...
... That's true. Though in my context (testing a different build of the browser for each run, rather than testing a web app through the browser), I don't...
Well all the files I try to write or copy in the jsunit/tests/ directory fail. I mean can't I run a successful test with the runner and then make a copy of the...
Anyone seen this error before? I'm using Firefox 1.5, and I'm running the test using the test runner. It's a really simple test, my first spin with jsunit,...
I've not seen that before. My only guess is that somehow the browser is denying access to a variable because of strong security settings. Have you set your...
Forgive me if this question was asked already, but I could not find any threads related to this. Are there any plans to create a plugs in for Visual Studio or...
I've experienced this in IE - it was because I was referencing the testRunner via the file:// protocol and the test page via http:// - making them both...
I'm seriously struggling to get jsunit to run from a command line on windows without the jsunit.properties file. I am using the latest 2.2 download. I have set...
You have to serve your test script from the same server and protocol as the test runner. So if the test runner is served via http:, you can't run a test...
Are you using ant to start your test run? The ant task sets the environment variables to the values defined in the properties in build.xml. So if you have...
No we're not using ant - our build environment uses msbuild so have written a wrapper task for JSUnit in that. The only way I can get it to work is to write...
Hi. . . We are using JScript fairly extensively on the WScript Windows Scripting Host platform. I've been reading up on JSUnit and am really wow'ed by its...
Hi, I'm trying to get the eclipse plugin that comes with jsunit working. Under Preferences > JsUnit There's a field for setting the JsUnit installation...
You should be setting it to the root directory, e.g. /usr/local/jsunit There's a known bug with the plugin. What happens when you click "Run as JsUnit Test...
Edward, Thanks for the tip. That does make sense per the instructions in the preferences dialog. I have set it correctly, and when I try to do Run As > JsUnit...
Hi, has anyone used JSUnit to test xpcom components or scripts calling xpcom services? Permissions do not allow a local html file or script to access xpcom ...
I've been looking in to this. One solution (I think) is to put your test in a local html file, and add something like const privs = 'UniversalPreferencesRead...
... Thanks for the response. Unfortunately still doesn't work. Although I do get the popup, I still see the messagein the JS console: Error: uncaught...
If 1) your component does not require the entire browser to be instatiated 2) you have the entire mozilla source tree checked out and built (browser is enough)...
Hi, I'm running the browser based test runner inside the eclipse browser widget and testing time increases by about 0.3 seconds with each run. Here are my...
It's entirely possible. When I close the browser and restart the tests run fast again. I have 2 Gig ram on this machine, but since it's running inside the JVM...