Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test: simplify how StopEverything is converted to skipnedbat/remove-unittest-testcase | Ned Batchelder | 2021-03-11 | 1 | -2/+2 |
| | | | | | | The auto-decorating metaclass was interfering with parameterized methods on Python 2.7. But we don't need it anymore anyway, since pytest will let us hook to deal with the exception in a simpler way. | ||||
* | test: reduce use of unittest | Ned Batchelder | 2021-03-11 | 1 | -4/+4 |
| | |||||
* | test: oops, accidentally always skipped this test | Ned Batchelder | 2021-02-24 | 1 | -1/+1 |
| | |||||
* | refactor: convert all skipping to pytest skips | Ned Batchelder | 2021-02-07 | 1 | -5/+3 |
| | |||||
* | refactor: remove unittest.assertCountEqual | Ned Batchelder | 2021-02-06 | 1 | -1/+2 |
| | | | | Another step toward removing unittest.TestCase. | ||||
* | refactor: remove reliance on unittest_mixins.StdStreamCapturingMixin | Ned Batchelder | 2021-02-02 | 1 | -6/+2 |
| | | | | This is another step toward removing unittest.TestCase as a base class. | ||||
* | refactor: move test mixins to their own file | Ned Batchelder | 2021-02-02 | 1 | -2/+2 |
| | |||||
* | style: fix long lines and avoid backslashesnedbat/unittest2pytest | Ned Batchelder | 2021-01-31 | 1 | -8/+6 |
| | |||||
* | style: correct placement of auto-added pytest imports | Ned Batchelder | 2021-01-31 | 1 | -1/+1 |
| | |||||
* | style: singleton comparisons should use is | Ned Batchelder | 2021-01-31 | 1 | -3/+3 |
| | | | | | | 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 | -105/+96 |
| | | | | One step of moving to pure pytest tests. | ||||
* | Add combine --keep (#1110) | Éric Larivière | 2021-01-30 | 1 | -1/+1 |
| | | | | | | | | | | | * Add combine --keep Related to https://github.com/nedbat/coveragepy/issues/1108 * Fix unit tests * Fix line too long * Fix line too long | ||||
* | Always output TOTAL line. | Judson Neer | 2021-01-06 | 1 | -2/+10 |
| | |||||
* | Fix tests for GitHub windows platform | Ned Batchelder | 2020-11-28 | 1 | -4/+4 |
| | | | | | | | | | | | | | | The tests were failing because of differences in file paths. It was comparing: C:\Users\runneradmin\AppData\... to: C:\Users\RUNNER~1\AppData\... and failing. These changes normalize the file paths so the comparisons work properly. | ||||
* | ambigious -> ambiguous | Ned Batchelder | 2020-09-12 | 1 | -9/+9 |
| | |||||
* | Docs and cleanup for source_pkgs | Ned Batchelder | 2020-09-12 | 1 | -7/+2 |
| | |||||
* | Create Way to force package even if filepath exists (#1026) | Thomas Grainger | 2020-09-12 | 1 | -0/+22 |
| | | | Fixes: #268 | ||||
* | replace confusing comment with assertion (#1028) | Thomas Grainger | 2020-09-12 | 1 | -3/+12 |
| | |||||
* | More bitbucket->github urls | Ned Batchelder | 2020-08-18 | 1 | -3/+3 |
| | |||||
* | A test replicating #916 | Ned Batchelder | 2020-01-07 | 1 | -2/+11 |
| | |||||
* | Ensure file touching happens if nothing was measured. #884 | Ned Batchelder | 2020-01-04 | 1 | -0/+15 |
| | |||||
* | Fix --debug=sys. #907 | Ned Batchelder | 2019-12-28 | 1 | -0/+8 |
| | |||||
* | Warn if two things change the dynamic context. #901 | Ned Batchelder | 2019-12-27 | 1 | -0/+13 |
| | |||||
* | Warnings can be marked to only display once. | Ned Batchelder | 2019-12-27 | 1 | -3/+13 |
| | |||||
* | A way to artificially crash coverage, for testing. | Ned Batchelder | 2019-12-23 | 1 | -0/+15 |
| | |||||
* | Detect when a 4.x data file is being read. #886 | Ned Batchelder | 2019-12-22 | 1 | -5/+12 |
| | |||||
* | Don't need to check for JSON-era bad-data messages any more | Ned Batchelder | 2019-12-22 | 1 | -5/+0 |
| | |||||
* | Coverage(data_file=None) means no data file at all. #871 | Ned Batchelder | 2019-12-02 | 1 | -1/+26 |
| | |||||
* | The [paths] setting is ordered. #649 | Ned Batchelder | 2019-12-01 | 1 | -0/+43 |
| | |||||
* | Experimental: relative_files to support relative file names. | Ned Batchelder | 2019-12-01 | 1 | -0/+91 |
| | |||||
* | These tests needed temp directories | Ned Batchelder | 2019-11-26 | 1 | -1/+3 |
| | |||||
* | Mark tests that don't need a temp dir | Ned Batchelder | 2019-11-25 | 1 | -5/+9 |
| | |||||
* | CoverageData.lines doesn't sort its returned list | Ned Batchelder | 2019-11-09 | 1 | -4/+4 |
| | |||||
* | A little more metacov | Ned Batchelder | 2019-11-05 | 1 | -2/+2 |
| | |||||
* | Exclude some nested coverage lines from coverage | Ned Batchelder | 2019-11-04 | 1 | -28/+32 |
| | |||||
* | Optionally skip empty files in reports | reybog90 | 2019-11-01 | 1 | -1/+2 |
| | |||||
* | Setting query context has to be done with a separate method call | Ned Batchelder | 2019-10-02 | 1 | -8/+8 |
| | |||||
* | Reporting methods shouldn't permanently change the configuration | Ned Batchelder | 2019-09-01 | 1 | -0/+11 |
| | |||||
* | Avoid useless or redundant db operations. Faster. | Ned Batchelder | 2019-07-07 | 1 | -15/+0 |
| | | | | | | Moving operations into the "with self._connect" means less opening and closing of the database. Returning early if there is no data to write avoids writing empty contexts. | ||||
* | New API: Coverage.current() returns the latest started instance. | Ned Batchelder | 2019-06-25 | 1 | -0/+31 |
| | |||||
* | Remove a property that has been deprecated for three years | Ned Batchelder | 2019-06-16 | 1 | -19/+0 |
| | |||||
* | Update tests to use updated APIs. | Stephan Richter | 2019-06-10 | 1 | -4/+8 |
| | |||||
* | Use pylint 2.x | Ned Batchelder | 2019-05-13 | 1 | -3/+3 |
| | |||||
* | Clean up some style in #782, switch_context | Ned Batchelder | 2019-04-28 | 1 | -23/+18 |
| | |||||
* | Expose switch_context in coverage API (#782) | Justas Sadzevičius | 2019-04-28 | 1 | -0/+111 |
| | | | | | | | | | | | | * Expose switch_context in public API * Test switch_context * Helper method to get full paths to measured files * Get correct file paths on all OS * Note version that introduced this method | ||||
* | Prefer assertRaisesRegex to assertRaises | Ned Batchelder | 2019-04-21 | 1 | -1/+2 |
| | |||||
* | Check for skipping tests before super.setUp | Ned Batchelder | 2019-04-21 | 1 | -1/+1 |
| | |||||
* | Add a failing test for #708 | Ned Batchelder | 2019-04-15 | 1 | -0/+15 |
| | |||||
* | Move more PYVERSION to be PYBEHAVIOR | Ned Batchelder | 2019-03-24 | 1 | -1/+1 |
| | |||||
* | Make directories for the data file if needed. #721 | Ned Batchelder | 2018-10-21 | 1 | -0/+9 |
| |