Hello All, Finally getting some JsUnit testing into a project. Needed it badly! I'm using JsUnit to test something that uses the self keyword. From the point...
hi i m writing a test for a method which alerts you if one condition passes and returns a boolean value.I just want to check what the boolean value returned is...
Are you familiar with the notion of mocking functions/objects? In this case the simplest thing would be to mock out your function that does the alert, and...
Thanks for ur solution actually my collegue too gave exactly the same solution.Anyways thanks for ur support we have overcome the problem. ... this case ... ...
Hello, I have problems to run JSUnit tests in order to test Dojo code. It works fine in Firefox but make me an error with IE. The HTML Runner times out... Here...
HI everybody its my first experience with jsunit , just wated to know can the tests be run on parallel with the help of jsunit om multiple machines Regards ...
Yes; see the documentation on the JsUnit server. ... Yes; see the documentation on the JsUnit server. On 7/17/06, Saksena Mudit < muditsaksena1@... ...
... I'm not sure this is true. On Safari 2.0.4 (419.3), I ran the following: javascript:alert(new Date() === new Date()) -> false javascript:a={ts: new...
... the ... that ... the ... my ... I'm not sure this is true. On Safari 2.0.4 (419.3), I ran the following: javascript:alert(new Date() === new Date()) ->...
Hi, I've just starting looking at JSUnit to test my Javascript and it looks great so far except I'm obvioulsy doing something wrong but have no idea what! The...
Hi All, I have firefox 1.5.0.4 and JsUnit is not able to close the browser after a test runs. I was wondering if someone else is running into this. After a...
... Dear Becky, Object expected error can occur when calling an undefined function. Your debug line in your helper isn't called, so probably your helper isn't...
If you have Firefox open already, JsUnit will grab a new tab. If that happens, JsUnit doesn't have the power to close the whole browser, so the browser stays...
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...