summaryrefslogtreecommitdiff
path: root/coverage/control.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Better reporting of partial lines, including leaving out partial stuff ↵Ned Batchelder2009-10-271-0/+4
| | | | altogether if no arcs were measured.
* Tweak some docstrings.Ned Batchelder2009-10-261-4/+3
|
* Treat missing source files nicer.Ned Batchelder2009-10-251-4/+28
|
* Commonalize the computation of total coverage percentage for a file.Ned Batchelder2009-10-241-0/+11
|
* Cleanup, and write doc strings.Ned Batchelder2009-10-241-4/+13
|
* Everything should derive from object.Ned Batchelder2009-10-241-2/+2
|
* Tidy up long linesNed Batchelder2009-10-241-8/+20
|
* Compatibility with Python 2.3Ned Batchelder2009-10-231-1/+1
|
* Properly shift multiline references to the first line of the statement. ↵Ned Batchelder2009-10-231-12/+6
| | | | This code is sloppy, I just want it to work first.
* More exception flow testing. This stuff is kind of involved...Ned Batchelder2009-10-201-1/+4
|
* Start testing exceptions with arc measurements.Ned Batchelder2009-10-191-0/+5
|
* Start unit testing the arc measurement. In arcs, -1 means enter or exit.Ned Batchelder2009-10-161-13/+22
|
* More refactoring of the use of analysis objects.Ned Batchelder2009-10-151-9/+16
|
* Remove left over glop.Ned Batchelder2009-10-151-4/+0
|
* Refactor the analysis results so we aren't passing so many tuples around.Ned Batchelder2009-10-151-39/+51
|
* Lots of work on parser.py, now we can extract possible arcs from source.Ned Batchelder2009-10-141-2/+2
|
* One way to collect arc information..Ned Batchelder2009-10-111-1/+2
|
* Properly separate the line data and the arc data.Ned Batchelder2009-10-101-1/+1
|
* Basic plumbing for a --branch option.Ned Batchelder2009-10-071-2/+2
|
* Linux and Mac put a newline in the sys.version string. Odd.Ned Batchelder2009-09-271-1/+1
|
* Added a 'coverage debug' command to get internal information for diagnosing ↵Ned Batchelder2009-09-271-0/+24
| | | | problems. Also, all commands should at least take -h.
* XML command writes to coverage.xml, and takes a -o argument to write it ↵Ned Batchelder2009-09-251-0/+2
| | | | somewhere else.
* Some XML report fixes, and a very basic test.Ned Batchelder2009-09-231-2/+3
|
* The best way to get py3k support: same source runs on both, with some ↵Ned Batchelder2009-09-221-2/+3
| | | | contortions.
* XML reporting hooked up, but not everything is right: a test_farm test fails ↵Ned Batchelder2009-09-131-1/+1
| | | | | | | now?? --HG-- rename : coverage/xml.py => coverage/xmlreport.py
* First part of wiring up xml reports.Ned Batchelder2009-09-131-0/+10
|
* Fix a problem with DecoratorTools fiddling with the trace function and ↵Ned Batchelder2009-08-091-3/+13
| | | | screwing us up. Now the Python trace function is simpler, with no variability of registered trace function. Fixes bugs #12 and #13.
* Clean up some new lint warnings.Ned Batchelder2009-07-121-1/+2
|
* Narrow the amount of code in a coverage start/stop window in a test so that ↵Ned Batchelder2009-07-121-0/+8
| | | | the differences in 2.x and 3.x scoping rules don't change the results of the test. Also, some commented-out logging of the trace machinery that helped me find the problem. Now all tests pass on Python 3.1!
* A seemingly minor change makes all the difference. The nose plugin cover.py ↵Ned Batchelder2009-06-241-1/+1
| | | | excludes reporting on any module imported when coverage started. It imports coverage, then records the list of modules imported. With the coverage.collector import in the constructor, coverage.collector wasn't imported when the snapshot was taken, so coverage.collector appeared in the nose output. By moving the import to module scope, it will be imported early enough to be skipped. Fixes issue #8.
* Don't measure the coverage package itself. Inspired by, but does not fix, ↵Ned Batchelder2009-06-241-2/+11
| | | | issue #8.
* Remove an unused importNed Batchelder2009-06-101-1/+1
|
* Add a comment about the proper way to import the coverage() class, and ↵Ned Batchelder2009-06-101-1/+10
| | | | remove a now-unused attribute.
* Better way to figure out if a file is installed with Python.Ned Batchelder2009-06-021-2/+7
|
* Fix the formatting of a docstring.Ned Batchelder2009-05-271-5/+5
|
* coverage._analyze is a non-public function.Ned Batchelder2009-05-171-2/+2
|
* Add the last few docstrings, and no pylint messages!Ned Batchelder2009-05-131-8/+25
|
* Give the singleton module interface a way to keep the old behavior of ↵Ned Batchelder2009-05-121-1/+13
| | | | auto-loading and -saving data as needed.
* cover_stdlib wasn't quite right, it controls covering the entire Python ↵Ned Batchelder2009-05-121-7/+8
| | | | library, so cover_pylib it is.
* Less-magical coverage api: load() method loads data from data file, no more ↵Ned Batchelder2009-05-121-7/+2
| | | | save() on process exit.
* Re-think the api to set the data file name and suffix.Ned Batchelder2009-05-111-6/+37
|
* Treat files not ending in .py properly.Ned Batchelder2009-05-071-4/+2
|
* Still noodling on how best to incorporate Detlev Offenbach's code finding patch.Ned Batchelder2009-05-061-4/+7
|
* .pyc files can be moved, so use __file__ to correctly find the source file.Ned Batchelder2009-05-051-2/+17
|
* Change how data is harvested from the collector to simplify api use.Ned Batchelder2009-05-051-9/+10
|
* Lint lintNed Batchelder2009-05-051-11/+8
|
* Added clear_exclude() and get_exclude_list()Ned Batchelder2009-05-041-4/+13
|
* Prefix private methods with underscore, and remove the self.nesting thing, ↵Ned Batchelder2009-05-041-12/+7
| | | | why was it even there?
* Pass values into coverage's contructor rather than set properties.Ned Batchelder2009-05-041-3/+3
|
* Reporting functions can supply a list of morfs if it is omitted.Ned Batchelder2009-05-031-3/+3
|