Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mypy: test_plugins.py | Ned Batchelder | 2023-01-12 | 1 | -26/+40 |
| | |||||
* | mypy: progress on test_plugins.py | Ned Batchelder | 2023-01-12 | 1 | -7/+12 |
| | |||||
* | mypy: test_parser.py test_phystokens.py test_process.py test_report.py ↵ | Ned Batchelder | 2023-01-07 | 1 | -43/+43 |
| | | | | test_results.py test_setup.py | ||||
* | test: a sorted_lines helper | Ned Batchelder | 2022-12-31 | 1 | -6/+6 |
| | |||||
* | refactor: remove mention of Python 2 unicode | Ned Batchelder | 2022-11-06 | 1 | -8/+0 |
| | |||||
* | style: parens should indent the same as their opening line | Ned Batchelder | 2022-05-01 | 1 | -5/+5 |
| | |||||
* | refactor(test): a context manager to swallow warnings | Ned Batchelder | 2022-02-04 | 1 | -3/+4 |
| | |||||
* | refactor(test): use math.isclose to check float values | Ned Batchelder | 2022-01-07 | 1 | -3/+4 |
| | |||||
* | refactor: specialize exceptions | Ned Batchelder | 2021-11-14 | 1 | -3/+3 |
| | | | | | | CoverageException is fine as a base class, but not good to use for raising (and catching sometimes). Introduce specialized exceptions that allow third-party tools to integrate better. | ||||
* | style: convert more string formatting to f-strings | Ned Batchelder | 2021-11-11 | 1 | -1/+1 |
| | |||||
* | feat: xml and json say what they are doing, and -q quiets everything. #1254nedbat/dashq | Ned Batchelder | 2021-10-26 | 1 | -3/+2 |
| | |||||
* | test: a part-covered comprehension | Ned Batchelder | 2021-08-09 | 1 | -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 Batchelder | 2021-08-05 | 1 | -1/+2 |
| | |||||
* | test: check the plugin warnings differently | Ned Batchelder | 2021-07-20 | 1 | -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 warnings | Ned Batchelder | 2021-05-30 | 1 | -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 module | Ned Batchelder | 2021-05-02 | 1 | -2/+3 |
| | |||||
* | refactor: pyupgrade --py36-plus tests/**.py | Ned Batchelder | 2021-05-02 | 1 | -2/+2 |
| | |||||
* | refactor: move the remaining backward.py code, no more backward.py | Ned Batchelder | 2021-05-01 | 1 | -2/+1 |
| | |||||
* | refactor: remove unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 1 | -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 uniformly | Ned Batchelder | 2021-03-11 | 1 | -1/+1 |
| | |||||
* | refactor: convert all skipping to pytest skips | Ned Batchelder | 2021-02-07 | 1 | -8/+2 |
| | |||||
* | style: fix long lines and avoid backslashesnedbat/unittest2pytest | Ned Batchelder | 2021-01-31 | 1 | -2/+2 |
| | |||||
* | style: correct placement of auto-added pytest imports | Ned Batchelder | 2021-01-31 | 1 | -1/+2 |
| | |||||
* | style: singleton comparisons should use is | Ned Batchelder | 2021-01-31 | 1 | -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 tests | Ned Batchelder | 2021-01-31 | 1 | -77/+76 |
| | | | | One step of moving to pure pytest tests. | ||||
* | Always output TOTAL line. | Judson Neer | 2021-01-06 | 1 | -0/+2 |
| | |||||
* | Use set literals | Ned Batchelder | 2021-01-03 | 1 | -3/+3 |
| | |||||
* | Python 3.10 | Ned Batchelder | 2020-10-10 | 1 | -1/+5 |
| | |||||
* | If a plugin is disabled, don't try to record its file tracers. #1011 | Ned Batchelder | 2020-09-13 | 1 | -0/+32 |
| | |||||
* | Fix a missed exception handling for bad plugins | Ned Batchelder | 2020-09-13 | 1 | -0/+22 |
| | |||||
* | Mark tests that don't need a temp dir | Ned Batchelder | 2019-11-25 | 1 | -0/+2 |
| | |||||
* | CoverageData.lines doesn't sort its returned list | Ned Batchelder | 2019-11-09 | 1 | -3/+3 |
| | |||||
* | Setting query context has to be done with a separate method call | Ned Batchelder | 2019-10-02 | 1 | -48/+31 |
| | |||||
* | Python tracer supports dynamic contexts. #846 | Ned Batchelder | 2019-09-15 | 1 | -35/+0 |
| | |||||
* | No need for format indexes (mostly) | Ned Batchelder | 2019-09-01 | 1 | -1/+1 |
| | |||||
* | Update tests to use updated APIs. | Stephan Richter | 2019-06-10 | 1 | -12/+12 |
| | |||||
* | Clean up some style in #782, switch_context | Ned Batchelder | 2019-04-28 | 1 | -5/+5 |
| | |||||
* | Use pipe symbol to join static and dynamic contexts | Ned Batchelder | 2019-04-26 | 1 | -3/+3 |
| | |||||
* | Prefer assertRaisesRegex to assertRaises | Ned Batchelder | 2019-04-21 | 1 | -3/+4 |
| | |||||
* | Clean up test_plugins.py | Ned Batchelder | 2019-04-21 | 1 | -15/+16 |
| | |||||
* | Clean up unused variables | Ned Batchelder | 2019-04-21 | 1 | -10/+7 |
| | |||||
* | Fix some formatting, and assert should be expected,actual | Ned Batchelder | 2019-04-21 | 1 | -29/+43 |
| | |||||
* | Check for skipping tests before super.setUp | Ned Batchelder | 2019-04-21 | 1 | -3/+3 |
| | |||||
* | Plugin support for dynamic context (#783) | Justas Sadzevičius | 2019-04-20 | 1 | -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 regexes | Ned Batchelder | 2019-03-23 | 1 | -8/+20 |
| | |||||
* | Asserts should be expected,actual | Ned Batchelder | 2018-12-24 | 1 | -2/+2 |
| | |||||
* | More tests need temp directories | Ned Batchelder | 2018-09-02 | 1 | -2/+0 |
| | |||||
* | Refactor initialization | Ned Batchelder | 2018-08-14 | 1 | -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 classes | Ned Batchelder | 2018-08-10 | 1 | -4/+5 |
| | |||||
* | Be stricter about self._data | Ned Batchelder | 2018-07-08 | 1 | -4/+4 |
| |