summaryrefslogtreecommitdiff
path: root/tests/test_cmdline.py
Commit message (Collapse)AuthorAgeFilesLines
* feat: HTML report now says where the report is. #1195 (#1207)Ned Batchelder2021-08-051-1/+1
|
* refactor: move exceptions to their own moduleNed Batchelder2021-05-021-1/+1
|
* refactor: pyupgrade --py36-plus tests/**.pyNed Batchelder2021-05-021-11/+11
|
* refactor: remove unused test class settingNed Batchelder2021-03-111-1/+0
| | | | | | | | | unittest_mixins would check that files got created if a test made a temporary directory, so that we could trim down making temp dirs needlessly. But we don't use unittest_mixins any more, so this setting does nothing. Remove it.
* test: reduce use of unittestNed Batchelder2021-03-111-2/+2
|
* refactor: convert all skipping to pytest skipsNed Batchelder2021-02-071-4/+2
|
* refactor: remove reliance on unittest_mixins.StdStreamCapturingMixinNed Batchelder2021-02-021-4/+6
| | | | This is another step toward removing unittest.TestCase as a base class.
* style: fix long lines and avoid backslashesnedbat/unittest2pytestNed Batchelder2021-01-311-4/+3
|
* refactor: unittest2pytest -w testsNed Batchelder2021-01-311-54/+50
| | | | One step of moving to pure pytest tests.
* Add combine --keep (#1110)Éric Larivière2021-01-301-5/+5
| | | | | | | | | | | * Add combine --keep Related to https://github.com/nedbat/coveragepy/issues/1108 * Fix unit tests * Fix line too long * Fix line too long
* More bitbucket->github urlsNed Batchelder2020-08-181-1/+1
|
* CmdLineStdoutTest::test_cmd_help: test for at least 20 lines (#1013)latricewilgus2020-07-191-1/+1
| | | | | | | | | The number of lines in the help output of a command depends on the terminal size. The smaller the more line breaks. The minimum number of lines for the current help message is 23. Currently we are checking for at least 30 lines, yielding to failures on large terminals. Reduce the number (currently 30) to 20 to have some leeway for the future.
* Report descending sort option (#1005)Jerin Peter George2020-07-031-0/+6
| | | | | | | | | | | | | | | * added descending sort option in coverage report * commandline option for report sort added * Fix tests for pull #1005 * conditional statements improved * sort option help updated with choices * commandline test for sort added Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* --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
|