On Tuesday 04 March 2008 04:47:44 am Mike Hansen wrote: > Hello all, > > Figleaf is a module for doing line coverage of Python code. I've made > an spkg at http://sage.math.washington.edu/figleaf-latest.spkg for > anyone who wants to try it out. It contains a script sage-figleaf > which I threw together very quickly. To test it out, do the following > > 1) Make sure you are in a shell with the Python environment variables set > 2) Go into the directory of the file you wish to run figleaf on. > 3) Run 'sage-figleaf filename.py' and wait for it to finish > 4) There will be a '.filename.py.html' file in your directory that > looks like http://sage.math.washington.edu/home/mhansen/partition.py.html > The green lines were executed, and the red ones were not.
Ah, that is cool. Now that's a doc-test requirement that I could appreciate! That is, I think it is quite reasonable to require all your code be green in figleaf. I guess getting it to work with cython code is probably not a small job. -- Joel --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---