Hi Martin,

welcome to qooxdoo! :) Normally the unit tests (Test Runner) runs 
without changing the config.json or something like that.

Could you please send the unit test and the myapp.SomeClass class. This 
make it easier to reproduce your problem.

Witch qooxdoo version and operating system do you use?

Cheers,
Chris

Martin Dobrev schrieb:
> Hello,
> i'm desperately trying to run a simple unit test with qooxdoo testing
> environment. Maybe it will be easier to explain the problem by
> describing what I did.
> First I created a basic Hello World application named "myapp" as
> explained in the documentation. After that I created another
> "SomeClass.js" class in the folder where the main "Application.js" is.
> I tried to create an instance of "SomeClass.js" inside
> "Application.js" - everything is working. The problem occured in the
> first Unit Test I wrote. I created a unit testing class inside the
> test folder of the application, which creates an instance of
> "SomeClass.js" and tests some of the methods there. After that I
> generated the test application. By running the test runner the test
> class is correctly displayed with all its test cases. When I run some
> of them i get the following error:
>
> TypeError: myapp.SomeClass is not a constructor
>
> I tried many things (changing the config.js and manifest.js, etc.) but
> unfortunately without success. Can somebody help me? Thanks in advance
> Martin Dobrev
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables 
> unlimited royalty-free distribution of the report engine 
> for externally facing server and web deployment. 
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>   


-- 
Christian Schmidt
Software Engineer
Core Development :: Web Technologies

1&1 Internet AG
Ernst-Frey-Str. 9
76135 Karlsruhe, Germany
http://www.1und1.de 

Amtsgericht Montabaur / HRB 6484
                                                        
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen

Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to