summaryrefslogtreecommitdiff
path: root/coverage/control.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* The name of the project is Coverage, not coverage.py.Ned Batchelder2009-04-301-2/+2
|
* Python stdlib is now not measured by default. If needed, turn it on with ↵coverage-3.0b2Ned Batchelder2009-04-291-4/+12
| | | | the -L switch.
* Typo in last docstring.Ned Batchelder2009-04-281-1/+1
|
* Removed recursive nonsense; docstring for exclude()Ned Batchelder2009-04-281-10/+8
|
* Last refactor dropped some important arguments.Ned Batchelder2009-04-271-5/+11
|
* Refactor some report plumbing. There's a simpler way...Ned Batchelder2009-04-261-3/+11
|
* Line length < 80.Ned Batchelder2009-04-191-1/+3
|
* New more flexible data storage.Ned Batchelder2009-04-181-1/+2
|
* Refactor the file name stuff in CoverageData, and start its own test file.Ned Batchelder2009-04-171-2/+4
|
* Remove an unused parameter, and other small cleanups to data storageNed Batchelder2009-04-161-3/+8
|
* If a module was loaded from a .pyc, report its file as .pyNed Batchelder2009-04-151-3/+0
|
* No need for coverage.analysis to return the filename, it's a property on the ↵Ned Batchelder2009-03-131-9/+10
| | | | CodeUnit passed in.
* CodeAnalyzer was a terminology conflict with coverage.analysis, and it's ↵Ned Batchelder2009-03-131-3/+3
| | | | | | | really more of a parser anyway. --HG-- rename : coverage/analyzer.py => coverage/parser.py
* Refactor the annotate code into annotate.pyNed Batchelder2009-03-131-64/+13
|
* Add a docstring.Ned Batchelder2009-03-121-1/+6
|
* Refactor the reporting function into the SummaryReporter class.Ned Batchelder2009-03-121-54/+5
|
* Simplify the chain of analysis functions, remove the analysis cache. Do we ↵Ned Batchelder2009-03-121-33/+16
| | | | really need that part to be so speedy? If so, I'll put it back later.
* Move format_lines into misc.py since it doesn't need to be a method of coverage.Ned Batchelder2009-03-121-34/+2
|
* Convert the last of the document-style comments to a docstring.Ned Batchelder2009-03-121-7/+11
|
* pylint is right about this one: don't overload builtin names if you don't ↵Ned Batchelder2009-03-121-10/+10
| | | | have to.
* Don't call things morfs that are not morfs.Ned Batchelder2009-03-111-19/+18
|
* Defaulting report and annotate to all files now happens inside coverage, ↵Ned Batchelder2009-03-111-0/+2
| | | | rather than in CoverageScript.
* FileLocator is a better name than FileWrangler.Ned Batchelder2009-03-111-7/+7
|
* Split out the filename operations; Morf -> CodeUnit.Ned Batchelder2009-03-111-75/+19
| | | | | --HG-- rename : coverage/morf.py => coverage/codeunit.py
* Yank morfs into their own class. This doesn't work yet.Ned Batchelder2009-03-101-61/+22
|
* Initial coverage.py 3.0 beta 1Ned Batchelder2009-03-051-0/+410