summaryrefslogtreecommitdiff
path: root/tests/test_plugins.py
Commit message (Collapse)AuthorAgeFilesLines
* feat: xml and json say what they are doing, and -q quiets everything. #1254nedbat/dashqNed Batchelder2021-10-261-3/+2
|
* test: a part-covered comprehensionNed Batchelder2021-08-091-1/+2
| | | | | The comprehension would only completely finish (->exit) if the assert was going to fail. So we expect it to not finish.
* feat: HTML report now says where the report is. #1195 (#1207)Ned Batchelder2021-08-051-1/+2
|
* test: check the plugin warnings differentlyNed Batchelder2021-07-201-1/+2
| | | | | | | | The old way, extra warnings that we don't care about could creep in. For some reason, disabling PyContracts causes "imp" DeprecationWarnings to appear in the list. Rather than assert there's only one warning, assert there's only one from us.
* feat: warnings are now real warningsNed Batchelder2021-05-301-10/+13
| | | | | | This makes coverage warnings visible when running test suites under pytest. But it also means some uninteresting warnings would show up in our own test suite, so we had to catch or suppress those.
* refactor: move exceptions to their own moduleNed Batchelder2021-05-021-2/+3
|
* refactor: pyupgrade --py36-plus tests/**.pyNed Batchelder2021-05-021-2/+2
|
* refactor: move the remaining backward.py code, no more backward.pyNed Batchelder2021-05-011-2/+1
|
* refactor: remove unneeded backward.py shimsNed Batchelder2021-05-011-5/+6
| | | | | | | | | | | | | | | Removed were: - StringIO - configparser - string_class - unicode_class - range - zip_longest - get_thread_id - path_types - shlex_quote - reprlib
* test: have pytest collect test classes uniformlyNed Batchelder2021-03-111-1/+1
|
* refactor: convert all skipping to pytest skipsNed Batchelder2021-02-071-8/+2
|
* style: fix long lines and avoid backslashesnedbat/unittest2pytestNed Batchelder2021-01-311-2/+2
|
* style: correct placement of auto-added pytest importsNed Batchelder2021-01-311-1/+2
|
* style: singleton comparisons should use isNed Batchelder2021-01-311-1/+1
| | | | | | I guess the original line was wrong, but it would have been nice for unittest2pytest to fix it for me: https://github.com/pytest-dev/unittest2pytest/issues/52
* refactor: unittest2pytest -w testsNed Batchelder2021-01-311-77/+76
| | | | One step of moving to pure pytest tests.
* Always output TOTAL line.Judson Neer2021-01-061-0/+2
|
* Use set literalsNed Batchelder2021-01-031-3/+3
|
* Python 3.10Ned Batchelder2020-10-101-1/+5
|
* If a plugin is disabled, don't try to record its file tracers. #1011Ned Batchelder2020-09-131-0/+32
|
* Fix a missed exception handling for bad pluginsNed Batchelder2020-09-131-0/+22
|
* Mark tests that don't need a temp dirNed Batchelder2019-11-251-0/+2
|
* CoverageData.lines doesn't sort its returned listNed Batchelder2019-11-091-3/+3
|
* Setting query context has to be done with a separate method callNed Batchelder2019-10-021-48/+31
|
* Python tracer supports dynamic contexts. #846Ned Batchelder2019-09-151-35/+0
|
* No need for format indexes (mostly)Ned Batchelder2019-09-011-1/+1
|
* Update tests to use updated APIs.Stephan Richter2019-06-101-12/+12
|
* Clean up some style in #782, switch_contextNed Batchelder2019-04-281-5/+5
|
* Use pipe symbol to join static and dynamic contextsNed Batchelder2019-04-261-3/+3
|
* Prefer assertRaisesRegex to assertRaisesNed Batchelder2019-04-211-3/+4
|
* Clean up test_plugins.pyNed Batchelder2019-04-211-15/+16
|
* Clean up unused variablesNed Batchelder2019-04-211-10/+7
|
* Fix some formatting, and assert should be expected,actualNed Batchelder2019-04-211-29/+43
|
* Check for skipping tests before super.setUpNed Batchelder2019-04-211-3/+3
|
* Plugin support for dynamic context (#783)Justas Sadzevičius2019-04-201-1/+247
| | | | | | | | | | | | * 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
* Rewrite XML tests to use xml parsing instead of regexesNed Batchelder2019-03-231-8/+20
|
* Asserts should be expected,actualNed Batchelder2018-12-241-2/+2
|
* More tests need temp directoriesNed Batchelder2018-09-021-2/+0
|
* Refactor initializationNed Batchelder2018-08-141-2/+4
| | | | | | | We need the data file suffix when the data file is created, not when write() is called. This required separating how different pieces were initialized. The old way was dumb anyway, since it (for example) created a Collector when reporting.
* Move line_counts out of the data classesNed Batchelder2018-08-101-4/+5
|
* Be stricter about self._dataNed Batchelder2018-07-081-4/+4
|
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* Fix plugin sysinfo tests under pytracercoverage-4.5.1Ned Batchelder2018-02-101-1/+6
|
* Configurer plugins should be reported by --debug=sysNed Batchelder2018-02-101-5/+7
|
* Avoid a temp dir for a test that doesn't need itNed Batchelder2018-01-221-0/+2
|
* A new kind of plug-in: configurers. #563Ned Batchelder2018-01-061-3/+16
|
* There will be other kinds of pluginsNed Batchelder2017-12-261-4/+4
|
* One more variation on WindowsNed Batchelder2017-03-311-0/+1
|
* A test of the plugin.find_executable_files methodNed Batchelder2017-03-311-0/+52
|
* Windows has a different error message for path(float)Ned Batchelder2017-03-301-0/+1
|
* Be pickier about the expected failures from plugin tests.Ned Batchelder2017-03-301-7/+26
|