code coverage tool with emacs integration?

Skip Montanaro skip at pobox.com
Sun Jul 27 10:52:59 EDT 2003


    John> Anybody know of one?

    John> Actually, I have a feeling that emacs understands a standard
    John> format for errors, which would make it really easy to implement
    John> this by having the coverage tool print results in that format --
    John> anybody know where to find the details?

compilation-error-regexp-alist.  The simplest format to remember is

    filename:linenumber:message

I'm not sure what you're after though.  Code coverage tools generally emit
annotated listings, not compiler-like output.  What would you like it to do,
emit file:line:msg info for the start of each run of lines which weren't
covered?  How would you get any context showing you what lines in the region
had been executed at least once?

Skip





More information about the Python-list mailing list