summaryrefslogtreecommitdiff
path: root/coverage/control.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Omit and include are now filename patterns rather than prefixes. BACKWARD ↵Ned Batchelder2010-05-231-41/+31
| | | | INCOMPATIBLE change.
* Format the code to pylint's liking, and fix up the docstrings for omit and ↵Ned Batchelder2010-05-151-38/+30
| | | | include.
* Hook up omit and include to the run command. Test the new cmdline behavior ↵Ned Batchelder2010-05-151-2/+4
| | | | and run behavior.
* Change 'requires' to 'include'.Ned Batchelder2010-05-151-29/+29
|
* fix a couple of bugs in control.py such that handling of omit_prefixes ↵wonwinmcbrootles@Wonwin-McBrootles-Computer.local2010-05-091-6/+7
| | | | | | | and/or require_prefixes was wrong update cmdline tests so they don't go red due to an unexpected constructor argument 'require_prefixes' note that there is not a real test of the "--require" cmdline argument -- I just added "require_prefixes=None" to the tests, so there is not test which tests what happens when someone passes --require= to the summary commands, much less to the run command.
* add a --require option to specify directories which are required to be at ↵Zooko Ofsimplegeo2010-04-191-12/+64
| | | | | | the beginning of the path for any file that is going to be included in code coverage make the --omit and --require options apply to code coverage generation as well as to reporting; This speeds up tests from 6 seconds to 1 second on my system, as well as making the resulting .coverage db include *only* the code that I care about, which helps with my code coverage progression/regression tool.
* Don't trace any files with names starting with less-than. They are all ↵Ned Batchelder2010-05-081-3/+5
| | | | fake, and can't be reported on anyway. Fixes #61.
* Calculate the pid suffix for data files at the end of the process so that ↵Ned Batchelder2010-03-201-12/+23
| | | | programs calling os.fork will collect data from both child and parent. Fixes issue #56.
* Don't let parallel=True prevent reporting. Fixes #49.Ned Batchelder2010-03-061-9/+10
|
* SpacesNed Batchelder2010-02-221-3/+3
|
* Fiddling with docs for 3.3Ned Batchelder2010-02-221-6/+13
|
* File-closing logic was wrong.Ned Batchelder2010-01-091-5/+7
|
* XML output file is configurable in .rc file.Ned Batchelder2010-01-091-3/+10
|
* HTML output directory is now settable in the .rc file.Ned Batchelder2010-01-061-3/+5
|
* tidyNed Batchelder2010-01-031-1/+1
|
* Parallel mode can be set from the .coveragerc file.Ned Batchelder2010-01-031-9/+18
|
* ignore_errors can be set in [report].ignore_errorsNed Batchelder2009-12-291-12/+26
|
* Forgot one place to use omit= from the config file.Ned Batchelder2009-12-281-1/+4
|
* Omit prefixes can be specified in the config file.Ned Batchelder2009-12-281-3/+10
|
* COVERAGE_PROCESS_START now is the name of the rc file, and we use it to ↵Ned Batchelder2009-12-261-5/+3
| | | | measure our own coverage.
* process_startup is a better name for the new function.Ned Batchelder2009-12-231-3/+8
|
* 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
|
* Merged default onto config.Ned Batchelder2009-12-031-39/+42
|\
| * 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
| |
* | Add data_file to the .coveragerc file.Ned Batchelder2009-11-281-2/+3
| |
* | Test the config file support.Ned Batchelder2009-11-281-1/+1
| |
* | Merged change from default branchNed Batchelder2009-11-281-20/+34
|\ \ | |/ |/|
| * Read .coveragerc by default.Ned Batchelder2009-11-281-5/+18
| |
| * Read a config file to get some of our configuration.Ned Batchelder2009-11-281-19/+20
| |
* | A little more detail on how stuff works.Ned Batchelder2009-11-281-0/+7
|/
* 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
|