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)...
I just joined the jsunit newsgroup and tried to use the search box, but it doesn't seem to work very well. Searching for 'function' brought up 2 results....
Recently we upgraded a pretty old version of JSUnit to trunk so we could use it with FF3. Ever since then the standalone test does not seem to convert its...
... JsUnit doesn't produce xml that CC can understand. You could try using ant and run an xslt conversion, or edit the outputted xml with another script. I...
I am currently attempting to setup continuous integration, using ant and StandaloneTest. I was wondering if my approach was correct, or if indeed there is a ...
Hi, Does anyone use version 1.3 in internet explorer? It looks like the Function_glue() method in JsUtil.js does not work. I keep getting errors when i try to...
The output format has changed a few times since the last "official" release of JSUnit. Depending on your version of JSUnit, one of the below XSLT transforms ...
Does anyone have a suggestion for testing JavaScript in the context of XULRunner 1.9. It seems likely that the problem with JSUnit 2.2 and FireFox 3.0 would...