[Pydev-code] Code coverage diff?
Brought to you by:
fabioz
From: Heikki T. <hj...@co...> - 2009-01-30 04:04:45
|
I just read about some research that was done by an old colleague of mine. The premise was that if a programmer is looking for a piece of code, for example the code that handles resizing of an element on screen, it would be much easier to do if you could do two code coverage runs where in one run you would resize the element and in the second you wouldn't. In many cases her test subjects could not even find some tricky pieces of code without such a coverage diff tool. She released a very rough version of such a tool for Java, called Tripoli (http://programmerproductivity.info/tripoli/index.php). While the typical Python program will likely have far fewer lines of code executed than many other languages (especially Java), it seems to me that coverage diff tool for Python would still be really useful. How hard would it be to add support for such a thing in PyDev? Does anyone else have any interest in this? -- Heikki Toivonen - http://heikkitoivonen.net |