Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge latest code from main coverage.py repo | Ned Batchelder | 2010-05-29 | 22 | -218/+213 | |
|\ \ | |/ | ||||||
| * | Make coverage.py properly exclude all stdlib modules under virtualenv's ↵ | Ned Batchelder | 2010-05-29 | 2 | -9/+22 | |
| | | | | | | | | dual-lib structure. | |||||
| * | Now using virtualenv for test versions of Python. | Ned Batchelder | 2010-05-29 | 1 | -5/+5 | |
| | | ||||||
| * | Fix old uses of 'prefixes' that are now 'patterns' | Ned Batchelder | 2010-05-24 | 2 | -10/+10 | |
| | | ||||||
| * | Update our own covcov.ini to properly omit files the new way. | Ned Batchelder | 2010-05-24 | 2 | -2/+2 | |
| | | ||||||
| * | Paperwork | Ned Batchelder | 2010-05-23 | 2 | -18/+9 | |
| | | ||||||
| * | Omit and include are now filename patterns rather than prefixes. BACKWARD ↵ | Ned Batchelder | 2010-05-23 | 18 | -165/+154 | |
| | | | | | | | | INCOMPATIBLE change. | |||||
| * | Fail early, and with an intelligible message, if the current Python ↵ | Ned Batchelder | 2010-05-21 | 1 | -0/+10 | |
| | | | | | | | | implementation can't analyze code. | |||||
* | | fixed a bug caused in 8e1995c8156a - refactoring out omit_filter never ↵ | David Stanek | 2010-05-22 | 2 | -3/+3 | |
| | | | | | | | | really worked | |||||
* | | cleaned up the testplugin module | David Stanek | 2010-05-21 | 1 | -103/+75 | |
| | | ||||||
* | | cleaned up the code for the nose plugin | David Stanek | 2010-05-21 | 2 | -39/+21 | |
| | | ||||||
* | | refactored the plugin's finish method to better enable filtering modules ↵ | David Stanek | 2010-05-21 | 1 | -6/+10 | |
| | | | | | | | | from a report | |||||
* | | fixed the --cover-packages option | David Stanek | 2010-05-21 | 1 | -11/+11 | |
| | | ||||||
* | | fixed an error where not specifying the cover package would cause a traceback | David Stanek | 2010-05-21 | 1 | -4/+6 | |
| | | ||||||
* | | modified to use report as the default action - the way the old nose plugin ↵ | David Stanek | 2010-05-21 | 1 | -1/+1 | |
| | | | | | | | | worked | |||||
* | | added the test egg's path to PYTHONPATH when running the tests | David Stanek | 2010-05-21 | 1 | -1/+1 | |
| | | ||||||
* | | merged in latest changes from Ned's repo | David Stanek | 2010-05-21 | 6 | -11/+355 | |
|\ \ | |/ |/| | ||||||
| * | moved the nose plugin to a better name | David Stanek | 2010-02-20 | 3 | -2/+2 | |
| | | | | | | | | | | --HG-- rename : coverage/nose_coverage.py => coverage/noseplugin.py | |||||
| * | fixed busted nose integration | David Stanek | 2010-02-20 | 3 | -6/+9 | |
| | | ||||||
| * | integrate a patch by prologic (James Mills) to add some options. | holger krekel | 2010-02-10 | 1 | -4/+32 | |
| | | ||||||
| * | Move todo's to a distinct plugin section. | Ned Batchelder | 2009-11-27 | 1 | -3/+8 | |
| | | ||||||
| * | add python3/jython compat TODO | holger krekel | 2009-11-25 | 1 | -0/+3 | |
| | | ||||||
| * | merging/unifying test plugin code | holger krekel | 2009-11-25 | 5 | -117/+93 | |
| | | | | | | | | | | | | | | | | | | | | | | * coverage/testplugin.py contains common test plugin options and pytest hooks (which don't induce "import py") * coverage/nose_coverage.py contains a basic Nose Plugin * test/test_testplugin.py contains a pytest-functional test and a nose-skeleton one. skipped as appropriate. --HG-- rename : coverage/runner.py => coverage/testplugin.py | |||||
| * | * move pytest_coverage/nose_plugin to become directly importable | holger krekel | 2009-11-25 | 4 | -69/+72 | |
| | | | | | | | | | | | | | | | | | | * fixing order of coverage options * pytest: only do coverage-processing if cover-action is defined --HG-- rename : coverage/test_plugins/nose_coverage.py => coverage/nose_coverage.py rename : coverage/test_plugins/pytest_coverage.py => coverage/pytest_coverage.py | |||||
| * | Merging in changes from http://bitbucket.org/ned/coveragepy/ | rozza@x103086.gcapmedia.com | 2009-11-20 | 6 | -93/+139 | |
| |\ | ||||||
| * | | Typo | rozza@x103086.gcapmedia.com | 2009-11-20 | 1 | -1/+1 | |
| | | | ||||||
| * | | Adding a CoverageTestWrapper to be used by test runners / plugins. | rozza@x103086.gcapmedia.com | 2009-11-20 | 3 | -0/+318 | |
| | | | | | | | | | | | | | | | | | | | | | Added example plugins for pytest and nose Warning: I haven't tested the nose plugin against a test suite Warning: I use a file listing files / paths to omit from code coverage and use regexes to filter them out To ignore that remove the monkey patch.. | |||||
| * | | Moving file filter logic out so it can be monkey patched easily | rozza@x103086.gcapmedia.com | 2009-11-20 | 1 | -10/+17 | |
| | | | ||||||
* | | | dollar is special in Makefiles, duh | Ned Batchelder | 2010-05-21 | 1 | -1/+1 | |
| | | | ||||||
* | | | Cleaner | Ned Batchelder | 2010-05-21 | 1 | -1/+1 | |
| | | | ||||||
* | | | Simple changes to get code measurement running on Jython. | Ned Batchelder | 2010-05-21 | 3 | -5/+13 | |
| | | | ||||||
* | | | Tell people what happened. | Ned Batchelder | 2010-05-16 | 2 | -1/+8 | |
| | | | ||||||
* | | | Format the code to pylint's liking, and fix up the docstrings for omit and ↵ | Ned Batchelder | 2010-05-15 | 13 | -97/+98 | |
| | | | | | | | | | | | | include. | |||||
* | | | Hook up omit and include to the run command. Test the new cmdline behavior ↵ | Ned Batchelder | 2010-05-15 | 8 | -31/+168 | |
| | | | | | | | | | | | | and run behavior. | |||||
* | | | Refactor common code in config.py, and start testing the new options. | Ned Batchelder | 2010-05-15 | 2 | -36/+24 | |
| | | | ||||||
* | | | Change 'requires' to 'include'. | Ned Batchelder | 2010-05-15 | 10 | -123/+123 | |
| | | | ||||||
* | | | Undo Zooko's version number change. | Ned Batchelder | 2010-05-15 | 1 | -1/+1 | |
| | | | ||||||
* | | | fix a couple of bugs in control.py such that handling of omit_prefixes ↵ | wonwinmcbrootles@Wonwin-McBrootles-Computer.local | 2010-05-09 | 3 | -37/+43 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Ofsimplegeo | 2010-04-19 | 9 | -28/+168 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Batchelder | 2010-05-08 | 2 | -3/+9 | |
| | | | | | | | | | | | | fake, and can't be reported on anyway. Fixes #61. | |||||
* | | | Properly record multiple exits separately. Fixes #62. | Ned Batchelder | 2010-04-27 | 7 | -33/+80 | |
| | | | ||||||
* | | | imported patch multiline-msg | Ned Batchelder | 2010-04-26 | 2 | -3/+11 | |
| | | | ||||||
* | | | Use constants for return values to make it easier to see the various uses of ↵ | Ned Batchelder | 2010-04-26 | 1 | -17/+21 | |
| | | | | | | | | | | | | 0 and -1. | |||||
* | | | Seems like some people want a --data switch to control the data file from ↵ | Ned Batchelder | 2010-04-25 | 1 | -0/+1 | |
| | | | | | | | | | | | | the command line. | |||||
* | | | Lint cleanup | Ned Batchelder | 2010-03-21 | 1 | -8/+9 | |
| | | | ||||||
* | | | Undo Ben Finney's patch to use the os.path methods. os.path.commonprefix is ↵ | Ned Batchelder | 2010-03-21 | 2 | -6/+40 | |
| | | | | | | | | | | | | both useless (beacause it's based on characters, not path components) and wrong (because to compute a relative path name, we need relative to a particular directory, or absolute, not some middle case). | |||||
* | | | I did this last week. | Ned Batchelder | 2010-03-21 | 1 | -1/+1 | |
| | | | ||||||
* | | | Yet more chainsaw action to try to prevent spurious test failures on Windows 7 | Ned Batchelder | 2010-03-21 | 2 | -5/+10 | |
| | | | ||||||
* | | | make_files is more useful if it can do subdirectories too. | Ned Batchelder | 2010-03-20 | 2 | -1/+26 | |
| | | | ||||||
* | | | Not sure why I changed these from inherit to normal last week (something to ↵ | Ned Batchelder | 2010-03-20 | 1 | -2/+2 | |
| | | | | | | | | | | | | do with IE and the styling of the linked line numbers). 'normal' made the footer not be italic, and putting it back to 'inherit' doesn't seem to break anything. |