summaryrefslogtreecommitdiff
path: root/tests/coveragetest.py
Commit message (Collapse)AuthorAgeFilesLines
* style: fix long lines and avoid backslashesnedbat/unittest2pytestNed Batchelder2021-01-311-1/+2
|
* refactor: mark an internal methodNed Batchelder2021-01-311-4/+4
|
* test: adapt to pytest assertion messagesNed Batchelder2021-01-311-4/+4
| | | | | | | | Bare "assert" statements don't produce the same assertion message as self.assertEqual did: they don't include the two values compared. For some of our own asserts, add back the detailed message. For some checks of asserts, it's fine that the values are missing because the longer messsage includes the information.
* refactor: unittest2pytest -w testsNed Batchelder2021-01-311-12/+12
| | | | One step of moving to pure pytest tests.
* PEP 626: constant tests are kept as no-opsNed Batchelder2021-01-101-1/+1
| | | | | The conditionals are now getting unwieldy, perhaps we can simplify them in the future?
* In 3.10, modules always have firstlineno==1Ned Batchelder2021-01-101-0/+5
|
* Explain a mysteryNed Batchelder2020-09-021-0/+4
|
* Better xfail mechanismNed Batchelder2020-01-181-4/+5
|
* Move test helpers to tests.helpersNed Batchelder2019-12-311-1/+2
|
* Easier to decipher arcz outputNed Batchelder2019-12-311-3/+3
|
* Warnings can be marked to only display once.Ned Batchelder2019-12-271-1/+2
|
* bpo 39114 broke 3.9, but maybe it's their bugNed Batchelder2019-12-211-0/+5
|
* I'm not sure why I was deleting these meta env varsNed Batchelder2019-12-011-7/+0
| | | | Don't we want to measure the coverage of subprocesses we start in tests?
* Coverage.py is only capitalized when it starts a sentenceNed Batchelder2019-11-101-3/+3
|
* '[run] note' is no longer supported.Ned Batchelder2019-11-091-5/+0
|
* Remove the JSON data codeNed Batchelder2019-07-101-3/+2
|
* Move arcz_to_arcs to misc so we can use it elsewhereNed Batchelder2019-06-191-42/+4
|
* Use pylint 2.xNed Batchelder2019-05-131-4/+4
|
* Prefer assertRaisesRegex to assertRaisesNed Batchelder2019-04-211-1/+1
|
* Plugin support for dynamic context (#783)Justas Sadzevičius2019-04-201-0/+10
| | | | | | | | | | | | * Introduce a new plugin type: dynamic context labels. * Test dynamic context plugins * Helper method to get full paths to measured files * Get correct filenames on all OS * Improve wording
* Fix an incorrectly named methodNed Batchelder2018-12-261-4/+4
|
* There are no kwargs to CoverageScript any moreNed Batchelder2018-11-261-4/+2
|
* Keep test directories shorterNed Batchelder2018-11-121-1/+3
|
* Comparison should always be expected,actualNed Batchelder2018-11-111-6/+6
|
* Keep test tempdirs distinct, for saving and comparing test outputNed Batchelder2018-11-111-1/+1
|
* Debug-time environment variables can be set with set_env.pyNed Batchelder2018-11-031-0/+1
|
* Everything should get a docstringNed Batchelder2018-11-031-0/+1
|
* We weren't using this argumentNed Batchelder2018-10-181-2/+2
|
* Name decorator components to avoid docstring requirementNed Batchelder2018-09-091-3/+2
|
* Tests of the schema checkingNed Batchelder2018-08-261-3/+3
|
* Enable keeping test-created temp dirsNed Batchelder2018-08-241-0/+6
|
* PyPy needs to close cursors from pragmasNed Batchelder2018-08-241-1/+0
|
* Skip some tests for SQL for nowNed Batchelder2018-08-241-0/+6
|
* Remove an unused debugging thingNed Batchelder2018-08-141-7/+0
|
* assert_file_countNed Batchelder2018-08-071-0/+8
|
* Remove a mention of Python 2.6Ned Batchelder2018-07-261-4/+2
|
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* Use the real implementation of del_environNed Batchelder2017-11-041-38/+4
|
* Fix that thingNed Batchelder2017-11-031-1/+1
|
* Try protecting test processes from coverage envvarsNed Batchelder2017-11-031-0/+41
|
* Use wraps() to wrap test methods so that pytest markers will work.Ned Batchelder2017-06-081-0/+2
|
* Refactor common test infrastructure for fiddling sys.path and finding filesNed Batchelder2017-05-041-0/+14
|
* Use latest pylint, and remove a bad pragmaNed Batchelder2017-04-131-1/+1
|
* Add clarification about warnings tests.Ned Batchelder2017-04-121-0/+1
|
* Beef up the assert_warnings test helperNed Batchelder2017-04-061-1/+11
|
* Add slugs to warnings in prep for suppressable warningsNed Batchelder2017-04-031-1/+1
|
* Use new show_stderr flag so we can see errors printed to stderr during ↵Ned Batchelder2017-03-301-0/+3
| | | | failing tests.
* Big refactor of debug loggingNed Batchelder2017-03-221-11/+1
|
* Refactor command_line into a function.Ned Batchelder2017-03-081-2/+14
|
* assert_warnings can now assert that there were no warnings.Ned Batchelder2017-02-201-7/+22
|