Well, I think we *could* ;-). - But not out of the box. This requires a different kind of machinery. For one you'd need to record which methods of a class have been called. For another, you'd have to match this up against the entire public API of the class. And this would only be covering the list of methods. It wouldn't tell you which code paths have been taken through any specific method that was invoked. So, a coarse code coverage. I think the aspect system of qooxdoo (qx.core.Aspect) could be used as a basis for this.
Patches welcome! :-) T. On 11/11/2011 04:22 PM, Benjamin Dreux wrote: > Hi, > > Since qooxdoo now have unit test that can run in command line. > I'm wondering if we could have some kind of code coverage mechanism ?? > > Regards > ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
