Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Narrow the amount of code in a coverage start/stop window in a test so that ↵ | Ned Batchelder | 2009-07-12 | 1 | -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 Batchelder | 2009-06-24 | 1 | -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 Batchelder | 2009-06-24 | 1 | -2/+11 | |
| | | | | issue #8. | |||||
* | Remove an unused import | Ned Batchelder | 2009-06-10 | 1 | -1/+1 | |
| | ||||||
* | Add a comment about the proper way to import the coverage() class, and ↵ | Ned Batchelder | 2009-06-10 | 1 | -1/+10 | |
| | | | | remove a now-unused attribute. | |||||
* | Better way to figure out if a file is installed with Python. | Ned Batchelder | 2009-06-02 | 1 | -2/+7 | |
| | ||||||
* | Fix the formatting of a docstring. | Ned Batchelder | 2009-05-27 | 1 | -5/+5 | |
| | ||||||
* | coverage._analyze is a non-public function. | Ned Batchelder | 2009-05-17 | 1 | -2/+2 | |
| | ||||||
* | Add the last few docstrings, and no pylint messages! | Ned Batchelder | 2009-05-13 | 1 | -8/+25 | |
| | ||||||
* | Give the singleton module interface a way to keep the old behavior of ↵ | Ned Batchelder | 2009-05-12 | 1 | -1/+13 | |
| | | | | auto-loading and -saving data as needed. | |||||
* | cover_stdlib wasn't quite right, it controls covering the entire Python ↵ | Ned Batchelder | 2009-05-12 | 1 | -7/+8 | |
| | | | | library, so cover_pylib it is. | |||||
* | Less-magical coverage api: load() method loads data from data file, no more ↵ | Ned Batchelder | 2009-05-12 | 1 | -7/+2 | |
| | | | | save() on process exit. | |||||
* | Re-think the api to set the data file name and suffix. | Ned Batchelder | 2009-05-11 | 1 | -6/+37 | |
| | ||||||
* | Treat files not ending in .py properly. | Ned Batchelder | 2009-05-07 | 1 | -4/+2 | |
| | ||||||
* | Still noodling on how best to incorporate Detlev Offenbach's code finding patch. | Ned Batchelder | 2009-05-06 | 1 | -4/+7 | |
| | ||||||
* | .pyc files can be moved, so use __file__ to correctly find the source file. | Ned Batchelder | 2009-05-05 | 1 | -2/+17 | |
| | ||||||
* | Change how data is harvested from the collector to simplify api use. | Ned Batchelder | 2009-05-05 | 1 | -9/+10 | |
| | ||||||
* | Lint lint | Ned Batchelder | 2009-05-05 | 1 | -11/+8 | |
| | ||||||
* | Added clear_exclude() and get_exclude_list() | Ned Batchelder | 2009-05-04 | 1 | -4/+13 | |
| | ||||||
* | Prefix private methods with underscore, and remove the self.nesting thing, ↵ | Ned Batchelder | 2009-05-04 | 1 | -12/+7 | |
| | | | | why was it even there? | |||||
* | Pass values into coverage's contructor rather than set properties. | Ned Batchelder | 2009-05-04 | 1 | -3/+3 | |
| | ||||||
* | Reporting functions can supply a list of morfs if it is omitted. | Ned Batchelder | 2009-05-03 | 1 | -3/+3 | |
| | ||||||
* | The name of the project is Coverage, not coverage.py. | Ned Batchelder | 2009-04-30 | 1 | -2/+2 | |
| | ||||||
* | Python stdlib is now not measured by default. If needed, turn it on with ↵coverage-3.0b2 | Ned Batchelder | 2009-04-29 | 1 | -4/+12 | |
| | | | | the -L switch. | |||||
* | Typo in last docstring. | Ned Batchelder | 2009-04-28 | 1 | -1/+1 | |
| | ||||||
* | Removed recursive nonsense; docstring for exclude() | Ned Batchelder | 2009-04-28 | 1 | -10/+8 | |
| | ||||||
* | Last refactor dropped some important arguments. | Ned Batchelder | 2009-04-27 | 1 | -5/+11 | |
| | ||||||
* | Refactor some report plumbing. There's a simpler way... | Ned Batchelder | 2009-04-26 | 1 | -3/+11 | |
| | ||||||
* | Line length < 80. | Ned Batchelder | 2009-04-19 | 1 | -1/+3 | |
| | ||||||
* | New more flexible data storage. | Ned Batchelder | 2009-04-18 | 1 | -1/+2 | |
| | ||||||
* | Refactor the file name stuff in CoverageData, and start its own test file. | Ned Batchelder | 2009-04-17 | 1 | -2/+4 | |
| | ||||||
* | Remove an unused parameter, and other small cleanups to data storage | Ned Batchelder | 2009-04-16 | 1 | -3/+8 | |
| | ||||||
* | If a module was loaded from a .pyc, report its file as .py | Ned Batchelder | 2009-04-15 | 1 | -3/+0 | |
| | ||||||
* | No need for coverage.analysis to return the filename, it's a property on the ↵ | Ned Batchelder | 2009-03-13 | 1 | -9/+10 | |
| | | | | CodeUnit passed in. | |||||
* | CodeAnalyzer was a terminology conflict with coverage.analysis, and it's ↵ | Ned Batchelder | 2009-03-13 | 1 | -3/+3 | |
| | | | | | | | really more of a parser anyway. --HG-- rename : coverage/analyzer.py => coverage/parser.py | |||||
* | Refactor the annotate code into annotate.py | Ned Batchelder | 2009-03-13 | 1 | -64/+13 | |
| | ||||||
* | Add a docstring. | Ned Batchelder | 2009-03-12 | 1 | -1/+6 | |
| | ||||||
* | Refactor the reporting function into the SummaryReporter class. | Ned Batchelder | 2009-03-12 | 1 | -54/+5 | |
| | ||||||
* | Simplify the chain of analysis functions, remove the analysis cache. Do we ↵ | Ned Batchelder | 2009-03-12 | 1 | -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 Batchelder | 2009-03-12 | 1 | -34/+2 | |
| | ||||||
* | Convert the last of the document-style comments to a docstring. | Ned Batchelder | 2009-03-12 | 1 | -7/+11 | |
| | ||||||
* | pylint is right about this one: don't overload builtin names if you don't ↵ | Ned Batchelder | 2009-03-12 | 1 | -10/+10 | |
| | | | | have to. | |||||
* | Don't call things morfs that are not morfs. | Ned Batchelder | 2009-03-11 | 1 | -19/+18 | |
| | ||||||
* | Defaulting report and annotate to all files now happens inside coverage, ↵ | Ned Batchelder | 2009-03-11 | 1 | -0/+2 | |
| | | | | rather than in CoverageScript. | |||||
* | FileLocator is a better name than FileWrangler. | Ned Batchelder | 2009-03-11 | 1 | -7/+7 | |
| | ||||||
* | Split out the filename operations; Morf -> CodeUnit. | Ned Batchelder | 2009-03-11 | 1 | -75/+19 | |
| | | | | | --HG-- rename : coverage/morf.py => coverage/codeunit.py | |||||
* | Yank morfs into their own class. This doesn't work yet. | Ned Batchelder | 2009-03-10 | 1 | -61/+22 | |
| | ||||||
* | Initial coverage.py 3.0 beta 1 | Ned Batchelder | 2009-03-05 | 1 | -0/+410 | |