[Cosmo-dev] [Proposal] Use Windmill for JS Unit testing

Ted Leung twl at osafoundation.org
Tue Mar 27 15:55:09 PST 2007


Hi folks,

So for Cosmo 0.7, we have a bug <https://bugzilla.osafoundation.org/ 
show_bug.cgi?id=5689> for Javascript Unit testing.   I did little bit  
of work on the browser based Javascript test runner from JSUnit, and  
I was intending to work on a command-line/maven based build next.    
The problem with a command line / Maven solution is that the only way  
to run Javascript in those situations is to use something like Rhino,  
which is not the environment where we run our Javascript code.    In  
the past we've had Javascript bugs like the Safari date problem,  
which were browser specific, but not related to the DOM or other  
parts of the browser UI.    Now that we have Windmill, my current  
thinking is that we could use Windmill to kick off Javascript unit  
tests that would run in the browser and which would use the browser  
based Javascript runner.

I'd like to hear people's opinions on whether this is a good idea or  
not.

Ted


More information about the cosmo-dev mailing list