Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add some docstrings | Ned Batchelder | 2010-06-01 | 4 | -6/+11 | |
| | ||||||
* | The next version will be 3.4 | Ned Batchelder | 2010-05-31 | 1 | -1/+1 | |
| | ||||||
* | Make include and omit work properly in the plugin. | Ned Batchelder | 2010-05-31 | 3 | -9/+7 | |
| | ||||||
* | Clean up the plugins more. Add the rcfile and include options. Omit can no ↵ | Ned Batchelder | 2010-05-31 | 3 | -58/+70 | |
| | | | | longer be a file of omissions, use the rcfile for that. | |||||
* | Branch coverage works well, no need for alarm. | Ned Batchelder | 2010-05-31 | 1 | -2/+2 | |
| | ||||||
* | Merge from main repo | Ned Batchelder | 2010-05-30 | 1 | -1/+1 | |
|\ | ||||||
| * | One place I forgot to change a renamed variable. | Ned Batchelder | 2010-05-30 | 1 | -1/+1 | |
| | | ||||||
* | | Refactor the common parts of the plugins to neutral territory. | Ned Batchelder | 2010-05-30 | 3 | -156/+157 | |
| | | ||||||
* | | Move the test runner plugins into their own sub-package. | Ned Batchelder | 2010-05-30 | 3 | -1/+1 | |
| | | | | | | | | | | | | --HG-- rename : coverage/noseplugin.py => coverage/runners/noseplugin.py rename : coverage/testplugin.py => coverage/runners/pytestplugin.py | |||||
* | | Omit_prefixes is now just 'omit'. | Ned Batchelder | 2010-05-30 | 1 | -5/+5 | |
| | | ||||||
* | | Your wish is my command. | Ned Batchelder | 2010-05-30 | 1 | -17/+0 | |
| | | ||||||
* | | Merge latest code from main coverage.py repo | Ned Batchelder | 2010-05-29 | 10 | -136/+130 | |
|\ \ | |/ | ||||||
| * | Make coverage.py properly exclude all stdlib modules under virtualenv's ↵ | Ned Batchelder | 2010-05-29 | 1 | -9/+19 | |
| | | | | | | | | dual-lib structure. | |||||
| * | Fix old uses of 'prefixes' that are now 'patterns' | Ned Batchelder | 2010-05-24 | 2 | -10/+10 | |
| | | ||||||
| * | Omit and include are now filename patterns rather than prefixes. BACKWARD ↵ | Ned Batchelder | 2010-05-23 | 9 | -103/+85 | |
| | | | | | | | | 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 | 1 | -37/+19 | |
| | | ||||||
* | | 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 | |||||
* | | merged in latest changes from Ned's repo | David Stanek | 2010-05-21 | 3 | -10/+303 | |
|\ \ | |/ |/| | ||||||
| * | moved the nose plugin to a better name | David Stanek | 2010-02-20 | 1 | -0/+0 | |
| | | | | | | | | | | --HG-- rename : coverage/nose_coverage.py => coverage/noseplugin.py | |||||
| * | fixed busted nose integration | David Stanek | 2010-02-20 | 2 | -6/+6 | |
| | | ||||||
| * | integrate a patch by prologic (James Mills) to add some options. | holger krekel | 2010-02-10 | 1 | -4/+32 | |
| | | ||||||
| * | merging/unifying test plugin code | holger krekel | 2009-11-25 | 3 | -116/+56 | |
| | | | | | | | | | | | | | | | | | | | | | | * 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 | 3 | -68/+68 | |
| | | | | | | | | | | | | | | | | | | * 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 | 5 | -92/+128 | |
| |\ | ||||||
| * | | 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 | |
| | | | ||||||
* | | | Format the code to pylint's liking, and fix up the docstrings for omit and ↵ | Ned Batchelder | 2010-05-15 | 9 | -92/+87 | |
| | | | | | | | | | | | | include. | |||||
* | | | Hook up omit and include to the run command. Test the new cmdline behavior ↵ | Ned Batchelder | 2010-05-15 | 3 | -11/+16 | |
| | | | | | | | | | | | | and run behavior. | |||||
* | | | Refactor common code in config.py, and start testing the new options. | Ned Batchelder | 2010-05-15 | 1 | -36/+22 | |
| | | | ||||||
* | | | Change 'requires' to 'include'. | Ned Batchelder | 2010-05-15 | 9 | -94/+94 | |
| | | | ||||||
* | | | 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 | 2 | -8/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -3/+5 | |
| | | | | | | | | | | | | fake, and can't be reported on anyway. Fixes #61. | |||||
* | | | Properly record multiple exits separately. Fixes #62. | Ned Batchelder | 2010-04-27 | 4 | -20/+35 | |
| | | | ||||||
* | | | 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. | |||||
* | | | Undo Ben Finney's patch to use the os.path methods. os.path.commonprefix is ↵ | Ned Batchelder | 2010-03-21 | 1 | -6/+6 | |
| | | | | | | | | | | | | 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). | |||||
* | | | 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. | |||||
* | | | Calculate the pid suffix for data files at the end of the process so that ↵ | Ned Batchelder | 2010-03-20 | 2 | -29/+37 | |
| | | | | | | | | | | | | programs calling os.fork will collect data from both child and parent. Fixes issue #56. | |||||
* | | | Source files can have more than one dot in them. Fixes issue #46. | Ned Batchelder | 2010-03-14 | 1 | -2/+2 | |
| | | | ||||||
* | | | Make this function name better. | Ned Batchelder | 2010-03-14 | 2 | -2/+2 | |
| | | | ||||||
* | | | Added a link back to the index page at the bottom of HTML source pages. ↵ | Ned Batchelder | 2010-03-14 | 3 | -3/+15 | |
| | | | | | | | | | | | | Closes issue #38. | |||||
* | | | HTML line numbers are clickable, and highlight the line on arrival. Also, ↵ | Ned Batchelder | 2010-03-14 | 3 | -4/+30 | |
| | | | | | | | | | | | | noticed that IE8 didn't line up the line number properly, so added an unfortunate meta tag to make it right. Closes issue #55. |