Hi Hugh,

I have not followed this thread completely but I think I can add a few 
words to the testrunner application.

First of all the testrunner is not limited to use just the GUI 
application it is possible to implement completely independent 
testrunners. We already have one very simple testrunner called 
BasicRunner. You can try it by commenting in line 73 and comment out 
line 71 in "testrunner.runner.Application" (You may have to update your 
qooxdoo). It basically loads the application to test 
(testrunner.TestLoader) in an IFrame and runs all tests, which namespace 
matches the text field's value.

It should be possible to embed the functionality of the TestLoader into 
your application to test.
>> Yes, the JSunit way is by convention: search methods starting with 
>> "test*". This as default, together with the regexp thing, should be 
>> enough, so we won't need a register.
>>     
>
> OK. Would that work with aggressive optimisation of method names in a
> hypothetical future build version?
>   
No, public members cannot be optimized/renamed. The testrunner finds the 
tests by walking over all classes and searching classes, which are 
instances of TestCase. All methods starting with "test" are considered 
tests in those classes.

Best Fabian

>  
> Hugh
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>   


-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, 
Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to