As you all know the assert* and fail methods throw an exception in order to tell the test runner that there is a problem. This means we can't do things like...
Dennis Byrne
dennisbyrne@...
Apr 3, 2008 2:18 am
1080
Thank you Hubert, it works perfectly! Antonio D. ... 5.5 ... but ... the...
Hi, When I'm running a distributed test, the server closes the browsers, but Opera always starts with a "Welcome to Opera" dialog, so waiting for user action....
... I dealt with this a few years back by figuring out where Opera was noting that it hadn't been closed normally, and then arranging to convince it otherwise...
Hi, Ive been trying to get JSUnit to test a Mozilla Firefox Extension. JavaScript is not my strong point so I am not sure how to solve my problem. Right now I...
Sorry if this question has been answered a million times, but: The documentation suggests that I should be able to do something like http://pastebin.dp.cx/117...
Hi folks, I'm embarking on a large Javascript project and so I thought it would be wise to set some unit tests up before I start. I've never used unit tests...
... You definitely should be able to call functions that are declared in external JS files. That's how I (and probably everyone) uses JsUnit. It's hard to...
... Yes, that test will always pass. It seems to be there to alter the contents of the page to test that the contents of the page get restored between test...
I need to create coverage output from my tests. I've used JSCoverage(http://siliconforks.com/jscoverage/) witch is nice but, I want my output in XML. Hopefully...
Greetings, I am in search of javascript unit testing tools and noticed that there are two jsunit projects which appear to be disjoint? Is this list for one,...
I am new to unit testing and jsunit. I am trying some very simple tests, and I have run into the problem that despite jsunit not guaranteeing any order to the...
Does it fail because it returns an invalid number or is it because its returning null?, you havn't included the actual failure message, (but from the code...
Hi, I would like to specify the DISPLAY property to browser processes so that I can use JsUnit from within a CI build on a headless unix box. With 2.2, I see...
... One way would be to specify a shell script instead of a browser name in the "browserFileNames" property. The shell script could set the DISPLAY property. ...
... Thanks, that worked. Just for future record on the list, this is the script I wrote: #!/bin/sh DISPLAY=:0 /usr/bin/firefox $@ Another option I just came up...
Is there a way to capture the results that are submitted to acceptor servlet by maven surefire reports plugin and display them as a part of maven site...
hi Sanjeewanan, I saw many of your posts in the group, I am also having a tough time integrating jsunits with maven. Actually i have jsunit tests running ...
Just to be clear on this: JsUnit doesn't guarantee the order that tests run in, but that doesn't mean that the order that is used is not determined for a given...
Hi, When I try to set showTestFrame or autorun in the query string as below I'm getting the following error: jsunit\build.xml:75: The reference to entity...
Is there any way to test for things like alerts or changing the document.location.href ? We have a lot of javascript that navigates the user around or pops up...
function test_my_code_displays_alert_message() { // replace original alert() function with your own var original_alert = window.alert; window.alert =...
Thanks Don, I'll give this a shot. Micah Don McCaughey wrote: function test_my_code_ displays_ alert_message( ) { // replace original alert() function with...
All, I've been trying to create a nice list/set of links that'll make running my JSUnit suites easer. I'd like to have the set of links in one frame (or a div)...