summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* If you called sys.exit() with no argument, coverage.py got tangled. Thanks, ↵Ned Batchelder2010-09-181-0/+17
| | | | Brodie Rao.
* Fix the url canonicalizer to also deal with release urls.Ned Batchelder2010-09-083-3/+3
|
* Format numbers with %g in xmlreport, since py3.2 uses more digits in str() ↵Ned Batchelder2010-09-062-5/+5
| | | | than previous Pythons, throwing off the gold files. We didn't need 9 digits of precision anyway...
* The XML report was missing an attribute Cobertura needed. Fixes #65 and #81.Ned Batchelder2010-09-041-1/+1
|
* Now that we include 0% files in the data, they aren't 'executed', they are ↵Ned Batchelder2010-09-031-9/+9
| | | | 'measured'.
* Now completely unexecuted source files can be included in reporting. ↵Ned Batchelder2010-09-032-0/+11
| | | | Specifying --source tells coverage.py where to search for files that haven't been executed.
* 2.3 needs backward support for setNed Batchelder2010-08-311-0/+1
|
* Too many files start with 'cov', rename a few.Ned Batchelder2010-08-311-4/+4
| | | | | | --HG-- rename : covcov.ini => metacov.ini rename : test/coverage_coverage.py => test/meta_coverage.py
* Some prep work for finding completely uncovered files.Ned Batchelder2010-08-306-0/+37
|
* Refactor the --omit and --include support during reporting, and add a test ↵Ned Batchelder2010-08-281-0/+16
| | | | for --include.
* The thread-startup dance caused Thread.run() to not be measured. This fixes ↵Ned Batchelder2010-08-261-1/+20
| | | | it, I hope without introducing too much more new code. Fixes #85.
* New config setting: [report]precision lets you specify the number of digits ↵Ned Batchelder2010-08-242-0/+25
| | | | after the decimal point in coverage percentages. Finishes issue #16.
* Unify formatting of coverage percentages, and don't show zero or 100 as a ↵Ned Batchelder2010-08-224-3/+13
| | | | result of rounding. Fixes #41 and #70.
* Get ready to have version-specific doc URLs.Ned Batchelder2010-08-205-2/+5
|
* Working on getting coverage to measure itself again.Ned Batchelder2010-08-071-2/+6
|
* Python 3.2 doesn't make .pyc files in the local dir any more, so be more ↵Ned Batchelder2010-08-011-13/+29
| | | | flexible.
* Python 3.2 doctest expects stdout to have an encoding.Ned Batchelder2010-08-011-2/+4
|
* Wrap a long line.Ned Batchelder2010-07-251-2/+3
|
* Fix this test: can't guarantee the order of stdout and stderr in the output.Ned Batchelder2010-07-121-6/+3
|
* Fix this test to run on 3.1 and non-Windows platforms.Ned Batchelder2010-07-121-8/+9
|
* Remove the test runner plugins for now.Ned Batchelder2010-07-121-46/+0
|
* Empty python files (like __init__.py) are shown as having zero statements, ↵Ned Batchelder2010-06-273-1/+47
| | | | not one. Fixes #1.
* Move the warnings to get them in more cases, and test one of those cases.Ned Batchelder2010-06-232-1/+18
|
* Re-vamp the tests for omit and include, and add source.Ned Batchelder2010-06-219-62/+73
|
* Give this helper function a better name, it's confused me too many times.Ned Batchelder2010-06-213-20/+25
|
* All tests now use underscore names instead of some having camelCase names.Ned Batchelder2010-06-185-127/+128
|
* Isolate old-style singleton api tests.Ned Batchelder2010-06-182-23/+28
|
* Add a test for --source, lots more needed.Ned Batchelder2010-06-181-0/+11
|
* The 'source' option is a list of directories or packages to limit coverage's ↵Ned Batchelder2010-06-135-28/+63
| | | | attention.
* Mark the py.test test as not to be run in nose.Ned Batchelder2010-06-021-0/+3
|
* Add some docstringsNed Batchelder2010-06-011-0/+6
|
* Clean up the plugins more. Add the rcfile and include options. Omit can no ↵Ned Batchelder2010-05-311-2/+2
| | | | longer be a file of omissions, use the rcfile for that.
* Refactor the common parts of the plugins to neutral territory.Ned Batchelder2010-05-301-2/+3
|
* Move the test runner plugins into their own sub-package.Ned Batchelder2010-05-301-1/+1
| | | | | | --HG-- rename : coverage/noseplugin.py => coverage/runners/noseplugin.py rename : coverage/testplugin.py => coverage/runners/pytestplugin.py
* Merge latest code from main coverage.py repoNed Batchelder2010-05-298-62/+62
|\
| * Update our own covcov.ini to properly omit files the new way.Ned Batchelder2010-05-241-1/+1
| |
| * Omit and include are now filename patterns rather than prefixes. BACKWARD ↵Ned Batchelder2010-05-238-62/+62
| | | | | | | | INCOMPATIBLE change.
* | cleaned up the code for the nose pluginDavid Stanek2010-05-211-2/+2
| |
* | merged in latest changes from Ned's repoDavid Stanek2010-05-211-0/+36
|\ \ | |/ |/|
| * moved the nose plugin to a better nameDavid Stanek2010-02-201-1/+1
| | | | | | | | | | --HG-- rename : coverage/nose_coverage.py => coverage/noseplugin.py
| * merging/unifying test plugin codeholger krekel2009-11-251-0/+36
| | | | | | | | | | | | | | | | | | | | | | * 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
* | Format the code to pylint's liking, and fix up the docstrings for omit and ↵Ned Batchelder2010-05-153-4/+10
| | | | | | | | include.
* | Hook up omit and include to the run command. Test the new cmdline behavior ↵Ned Batchelder2010-05-153-19/+137
| | | | | | | | and run behavior.
* | Refactor common code in config.py, and start testing the new options.Ned Batchelder2010-05-151-0/+2
| |
* | 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-29/+29
| | | | | | | | | | | | | | | | | | | | 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
* | Properly record multiple exits separately. Fixes #62.Ned Batchelder2010-04-272-13/+41
| |
* | imported patch multiline-msgNed Batchelder2010-04-262-3/+11
| |
* | Lint cleanupNed Batchelder2010-03-211-8/+9
| |
* | Undo Ben Finney's patch to use the os.path methods. os.path.commonprefix is ↵Ned Batchelder2010-03-211-0/+34
| | | | | | | | 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).