summaryrefslogtreecommitdiff
path: root/tests/test_cmdline.py
Commit message (Collapse)AuthorAgeFilesLines
* One more error case for the command lineNed Batchelder2018-10-191-3/+17
|
* `[run] command_line` is the command line to use for 'coverage run'. #695Ned Batchelder2018-10-181-4/+43
|
* This is literally what setdefault is forNed Batchelder2018-10-181-2/+1
|
* Even more clarity for an error messageNed Batchelder2018-09-251-0/+4
|
* Merge branch 'nedbat/contexts'Ned Batchelder2018-09-211-1/+1
|\
| * Plumb through context= settingNed Batchelder2018-09-181-1/+1
| |
* | Clarify an error messageNed Batchelder2018-09-191-1/+1
|/
* Better sys_info: pid, and a more understandable name.Ned Batchelder2018-08-261-1/+1
|
* Simplify how run --append works.Ned Batchelder2018-08-091-11/+7
| | | | | I don't know why it was using combine after, when .load before seems like the obvious way to do it.
* Merge branch 'master' into nedbat/data-sqliteNed Batchelder2018-08-081-16/+0
|\
| * No need to erase before runningNed Batchelder2018-08-081-16/+0
| |
* | CoverageData now also handles file operationsNed Batchelder2018-07-231-6/+5
|/
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* check_preimported=True controls whether coverage checks pre-imported files ↵Ned Batchelder2018-03-061-1/+1
| | | | when starting
* fail_under can now be a float. #631.Ned Batchelder2018-01-211-3/+9
|
* Skip these new tests on JythonNed Batchelder2017-10-211-0/+4
|
* Fix the recent command-name tests for WindowsNed Batchelder2017-10-211-2/+3
|
* Be more flexible about the command name in help. #600Ned Batchelder2017-10-191-7/+8
|
* Get the command name from the file path of the first command-line argument.Ben Finney2017-10-191-0/+24
|
* Update to pylint 1.7.1Ned Batchelder2017-04-221-1/+1
|
* Print command-line errors to stderr instead of stdoutNed Batchelder2017-04-131-10/+10
|
* Use capital-CoverageNed Batchelder2017-03-111-60/+58
| | | | | --HG-- extra : amend_source : 926b6475306f6463c48b2d3053f5dcd431941937
* Move fail-under tests from process-oriented integration tests to ↵Ned Batchelder2017-03-081-0/+59
| | | | fake-oriented unit tests
* Refactor command_line into a function.Ned Batchelder2017-03-081-4/+4
|
* Remove explicit clean-up methods that just set an attributeNed Batchelder2017-01-111-6/+2
|
* Remove an unused exception.Ned Batchelder2016-12-311-1/+1
|
* Remove hastiliy short-circuited check for conflicting include and sourceNed Batchelder2016-12-301-7/+0
|
* Revert the check for conflicting --source and --include. Closes #541, ↵Ned Batchelder2016-12-281-0/+3
| | | | re-opens #265
* Merged in dachary/coverage.py/issue-433-2 (pull request #112)Ned Batchelder2016-12-241-1/+1
|\ | | | | | | implement --skip-covered for html report #433
| * implement --skip-covered for html report #433loic@dachary.org2016-12-181-1/+1
| | | | | | | | | | | | | | close #433 --HG-- branch : issue-433-2
* | --source and --include are mutually exclusive #265loic@dachary.org2016-12-161-1/+5
|/ | | | | | | | | | | | | | | | | | | Add a sanity_check function to CoverageConfig to perform sanity checks after configuration values have been collected from files, arguments etc. Raise an error if --source and --include are both set. The config tests are amended because some of them have both source and include set. Based on the original patch from Nathan Land close #265 --HG-- branch : issue-265 extra : amend_source : 2c0e1173285d07174bc632fb3a8df437201607a6
* Combining twice shouldn't lose data. #412, #516Ned Batchelder2016-08-071-5/+5
|
* Cover a few more lines in cmdline.pyNed Batchelder2016-07-101-0/+5
|
* Fix the check for default values of run-affecting options, and add a testNed Batchelder2016-07-091-0/+8
|
* Fail command lines that use multiprocessing and other options together. #495Ned Batchelder2016-07-091-0/+10
|
* Let the concurrency option be multi-valued. #484Ned Batchelder2016-07-041-0/+8
|
* Combine no longer appends by defaultNed Batchelder2016-06-251-3/+6
| | | | | | | | | | | Combine used to always load an existing .coverage file. This lead to confusing results and extra tox-clean steps. Now the default is to not load the existing file, though a new --append switch on coverage combine gets you that behavior if you need it. This also pointed up an issue with concurrency=multiprocessing, which is that the child processes automatically used parallel=True, but the parent process did not. Now concurrency=multiprocessing implies parallel=True.
* Make report's 'sort' option available only via the configuration file, not ↵Dan Wandschneider2016-06-081-6/+1
| | | | available on the command line.
* Issue 199: Sort text report.Dan Wandschneider2016-06-081-1/+6
| | | | | | | | | | | | | | Allows sorting of the text report based on: Name, Stmts, Miss, Cover Tested on Mac with Python 2.7.11 and Python 3.5 Help message for the new option is: python -m coverage report -h ... --sort=SORT Sort report by a column. Valid values are: Name, Stmts, Miss, Cover. ...
* Add support for `coverage debug config`Matthew Boehm2016-06-021-1/+7
| | | | | Previously, coverage --debug=config worked, but `coverage debug config` didn't. Fixes #454
* readthedocs.io nowNed Batchelder2016-04-301-1/+1
|
* A better way to indicate the presence of the C extensionNed Batchelder2016-03-291-2/+2
|
* Show the tracer class in help output. #479Ned Batchelder2016-03-281-0/+5
|
* Combining now issues warnings on unreadable files, unconditionallyNed Batchelder2015-10-041-10/+4
|
* Combine can now ignore errors.Ned Batchelder2015-10-031-4/+10
|
* Bit the bullet and fixed pep8 in cmdlineNed Batchelder2015-10-031-15/+7
|
* New convention: cleanups should be named cleanup_*Ned Batchelder2015-08-291-3/+3
|
* Touching files in an empty CoverageData shouldn't force lines. #399Ned Batchelder2015-08-201-2/+2
| | | | | | | | py.test --cov can write empty data to arcs, and then touch files due to --source. This would make the file be about lines instead of arcs, and then combining would fail. This changed a lot of CoverageData, including some of the methods names.
* Fix --append trying to make a new file. #392Ned Batchelder2015-08-031-9/+22
|
* Change the coverage.config item-access syntax to a real method call.Ned Batchelder2015-08-021-1/+5
| | | | | The square brackets were too cute, and I couldn't figure out how to document them anyway!