Get help with testing, discuss unit testing strategies etc.


Post by fbrus001 »

I am currently testing the abilities of Siesta. So far, I'm really satisfied and everything works fine.

Except one thing: I couldn't find out how to verify the existence of classes that are marked as "singleton: true".

So,
t.requireOk('MyApp.AnyClass');
passes, while
t.requireOk('MyApp.Singleton');
fails.

What am I doing wrong? Is there a workaround for this?

Post by nickolay »

This is a small bug. After the `require` Siesta checks that the type of the `Ext.ClassManager.get(className)` is a function - seems its not true for singletons. We'll fix that in the nearest release 1.0.5 (hopefully today :))

Post by fbrus001 »

Cool, thanks!

Post by nickolay »


Post Reply