summaryrefslogtreecommitdiff
path: root/coverage/control.py
Commit message (Collapse)AuthorAgeFilesLines
...
* A way to start coverage when Python starts, to help with measuring coverage ↵Ned Batchelder2009-12-231-3/+24
| | | | in subprocesses.
* Clean trailing whitespace.Ned Batchelder2009-12-031-5/+5
| | | | | --HG-- branch : config
* Merged default onto config.Ned Batchelder2009-12-031-39/+42
|\ | | | | | | | | --HG-- branch : config
| * Massive eol whitespace clean-up.Ned Batchelder2009-12-021-36/+37
| |
| * Fix some self-measurement problems. Now coverage_coverage.py works again ↵Ned Batchelder2009-11-291-4/+6
| | | | | | | | (had to be sure to stop coverage if check_coverage threw an exception).
* | Read the data file from the COVERAGE_FILE environment variable.Ned Batchelder2009-11-281-1/+11
| | | | | | | | | | --HG-- branch : config
* | Add data_file to the .coveragerc file.Ned Batchelder2009-11-281-2/+3
| | | | | | | | | | --HG-- branch : config
* | Test the config file support.Ned Batchelder2009-11-281-1/+1
| | | | | | | | | | --HG-- branch : config
* | Merged change from default branchNed Batchelder2009-11-281-0/+7
|\ \ | |/ | | | | | | --HG-- branch : config
| * A little more detail on how stuff works.Ned Batchelder2009-11-281-0/+7
| |
* | Read .coveragerc by default.Ned Batchelder2009-11-281-5/+18
| | | | | | | | | | --HG-- branch : config
* | Read a config file to get some of our configuration.Ned Batchelder2009-11-281-19/+20
|/ | | | | --HG-- branch : config
* Doc tweaks.Ned Batchelder2009-11-271-3/+3
|
* When reporting, don't fall over if there's no data to report on. Fixes issue ↵Ned Batchelder2009-11-261-2/+6
| | | | #37.
* In 'debug sys' data, don't call it 'data_file', since it doesn't find out ↵Ned Batchelder2009-11-211-1/+1
| | | | anything about the file, it's just the path to the file.
* Clean up.Ned Batchelder2009-11-081-1/+1
|
* Factor out Analysis and Numbers into their own file: imports were getting ↵Ned Batchelder2009-11-021-143/+2
| | | | circular.
* Some lint cleanupNed Batchelder2009-11-021-1/+1
|
* A Numbers class to handle the interrelationships of counts and percentages, ↵Ned Batchelder2009-11-021-11/+40
| | | | including in rolled-up presentations.
* 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.