summaryrefslogtreecommitdiff
path: root/coverage/control.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | WIP for partial branch exclusion. #113Ned Batchelder2011-05-171-2/+2
| |
* | Since people make this mistake, and it's mysterious: accept a single string ↵Ned Batchelder2011-04-251-1/+6
| | | | | | | | for omit and include.
* | Remove trailing spacesNed Batchelder2011-03-241-1/+1
| |
* | --omit and --include now interpret their values more usefully. Fixes #121.Ned Batchelder2011-03-211-6/+20
| |
* | Clean-upsNed Batchelder2011-03-161-2/+2
| |
* | A different (better) way to avoid warnings when no code has been run.Ned Batchelder2011-02-121-16/+5
| |
* | Don't warn about not collecting data if we never ran any code in the first ↵Ned Batchelder2011-02-071-5/+16
| | | | | | | | place.
* | Make this message simpler and clearer.Ned Batchelder2011-02-071-1/+1
| |
* | Pylint 0.23.0 'deprecated' disable-msg.Ned Batchelder2011-02-011-2/+2
|/
* Detect when our trace function is yanked out from under us, and warn the ↵Ned Batchelder2010-11-061-2/+6
| | | | user. Finishes, but does not fix, issue #93.
* Jython reports $py.class files in the trace function, so adapt to find the ↵Ned Batchelder2010-10-131-0/+5
| | | | source file.
* Now completely unexecuted source files can be included in reporting. ↵Ned Batchelder2010-09-031-0/+7
| | | | Specifying --source tells coverage.py where to search for files that haven't been executed.
* Pass config objects around to limit the sprawl of argument lists.Ned Batchelder2010-09-021-18/+4
|
* New config setting: [report]precision lets you specify the number of digits ↵Ned Batchelder2010-08-241-5/+14
| | | | after the decimal point in coverage percentages. Finishes issue #16.
* Add a comment about the wacky object attributes for modules.Ned Batchelder2010-08-231-0/+4
|
* Trim up some linesNed Batchelder2010-08-201-2/+3
|
* Don't trace code if the reported filename is *.html. Fixes issue #82.Ned Batchelder2010-08-201-0/+8
|
* 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