summaryrefslogtreecommitdiff
path: root/coverage/control.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Use some strange self.os stuff to hold references to modules so we'll have ↵Ned Batchelder2010-08-071-3/+9
| | | | them available when called from atexit(). Fixes issue #71, I think.
* Virtualenv3 moves random.py into the virtualenv, so we can't use it as the ↵Ned Batchelder2010-08-011-10/+10
| | | | control any more. Just examine all the modules we import, and use all their locations as the pylib directories.
* This should have been hidden from the public API.Ned Batchelder2010-07-251-4/+4
|
* Move the warnings to get them in more cases, and test one of those cases.Ned Batchelder2010-06-231-16/+26
|
* Warnings during measurement.Ned Batchelder2010-06-181-1/+16
|
* Oops: don't use python 2.x print syntax.Ned Batchelder2010-06-131-1/+1
|
* The 'source' option is a list of directories or packages to limit coverage's ↵Ned Batchelder2010-06-131-29/+100
| | | | attention.
* One place I forgot to change a renamed variable.Ned Batchelder2010-05-301-1/+1
|
* Make coverage.py properly exclude all stdlib modules under virtualenv's ↵Ned Batchelder2010-05-291-9/+19
| | | | dual-lib structure.
* Fix old uses of 'prefixes' that are now 'patterns'Ned Batchelder2010-05-241-1/+1
|
* 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. --HG-- extra : transplant_source : %F7%B3%26E%27Va%A2W4%9EX%9F%02oV%3C%A2%27%E1
* 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. --HG-- extra : transplant_source : %1F.4%81%E8%DA%0B%D0%D5%9D%89%DE%E1vY%E6%CD%1A%EB%C9
* 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
| | | | | --HG-- rename : test/farm/html/run_a_xml.py => test/farm/html/run_a_xml_1.py
* 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
| | | | | --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.