summaryrefslogtreecommitdiff
path: root/tests/test_cmdline.py
Commit message (Collapse)AuthorAgeFilesLines
* --skip-empty now applies to the XML report also. #976nedbat/bug976Ned Batchelder2020-06-301-1/+1
|
* Simplify testing of --no-skip-covered, and add docsNed Batchelder2020-06-291-0/+10
|
* Make the bare help message a bit more helpfulNed Batchelder2020-05-171-1/+1
|
* Finish up --precisionNed Batchelder2020-05-121-3/+13
|
* "coverage debug premain"Ned Batchelder2020-01-111-1/+1
|
* Optionally skip empty files in reportsreybog902019-11-011-1/+8
|
* Upgrade pylintNed Batchelder2019-10-181-1/+1
|
* Create a JSON reportMatt Bachmann2019-08-311-14/+80
|
* Fix a test.Stephan Richter2019-06-101-1/+1
|
* Pass the contexts to the report command.Albertas Agejevas2019-06-101-2/+9
|
* Don't name new method the same as old attributeNed Batchelder2019-04-201-2/+2
|
* Fix #708: .filename is private, and don't combine over ourselvesNed Batchelder2019-04-151-2/+2
|
* Use a function instead of a method to show helpNed Batchelder2018-11-261-10/+9
|
* PyRunner knows how to run Python files.Ned Batchelder2018-11-251-29/+58
| | | | Adjust sys.path to better emulate Python, but only if we should.
* Use implicit mock patching instead of explicit DI for cmdline testsNed Batchelder2018-11-251-280/+288
| | | | | This sets us up for mocking more or different globals without adding more explicit DI overrides in cmdline.py.
* Always include a documentation link at the end of help messagesNed Batchelder2018-10-211-6/+14
|
* 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
|