code coverage tool with emacs integration?

John J. Lee jjl at pobox.com
Sun Jul 27 20:31:14 EDT 2003


Skip Montanaro <skip at pobox.com> writes:
[...]
> compilation-error-regexp-alist.  The simplest format to remember is

Thanks.

[...]
> emit file:line:msg info for the start of each run of lines which weren't
> covered?

Yes.


> How would you get any context showing you what lines in the region
> had been executed at least once?

Why would I want to?

I haven't done any proper code-coverage analysis before, but I
had imagined just doing:

while 1:
  uncovered = run_coverage_tool(my_code)
  if not uncovered: break
  jump_to(uncovered[0])
  think()
  write_test()


John




More information about the Python-list mailing list