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

Bobby Rullo br at osafoundation.org
Fri Mar 30 15:41:03 PST 2007


>
> The issue is this.
>
> In order for windmill to report results we _must_ replace the  
> jsunit assertion methods, there isn't another way to do it.
>
> Thanks Bobby for showing me http://svn.osafoundation.org/server/ 
> cosmo/trunk/cosmo/src/test/unit/js/cosmo/datetime/test_timezone.js .
>
> I was looking at http://svn.osafoundation.org/server/cosmo/trunk/ 
> cosmo/src/test/unit/js/cosmo/ui/widget/ and the examples on the  
> jsunit website.
>

Heh, those UI pages are not unit tests at all. They are pages I made  
that let you "run" a widget without a browser. Makes development of  
widgets a lot easier.


> If we can find a way to dynamically replace the regular jsunit  
> assertion methods with our own I think we can do this all pretty  
> easily.
>

I still don't see the reason for this...Could you explain?

> Adam?
>
>> Ted
>> _______________________________________________
>> cosmo-dev mailing list
>> cosmo-dev at lists.osafoundation.org
>> http://lists.osafoundation.org/mailman/listinfo/cosmo-dev
>
> _______________________________________________
> cosmo-dev mailing list
> cosmo-dev at lists.osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/cosmo-dev



More information about the cosmo-dev mailing list