summaryrefslogtreecommitdiff
path: root/tests/test_api.py
Commit message (Collapse)AuthorAgeFilesLines
...
* These tests needed temp directoriesNed Batchelder2019-11-261-1/+3
|
* Mark tests that don't need a temp dirNed Batchelder2019-11-251-5/+9
|
* CoverageData.lines doesn't sort its returned listNed Batchelder2019-11-091-4/+4
|
* A little more metacovNed Batchelder2019-11-051-2/+2
|
* Exclude some nested coverage lines from coverageNed Batchelder2019-11-041-28/+32
|
* Optionally skip empty files in reportsreybog902019-11-011-1/+2
|
* Setting query context has to be done with a separate method callNed Batchelder2019-10-021-8/+8
|
* Reporting methods shouldn't permanently change the configurationNed Batchelder2019-09-011-0/+11
|
* Avoid useless or redundant db operations. Faster.Ned Batchelder2019-07-071-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 Batchelder2019-06-251-0/+31
|
* Remove a property that has been deprecated for three yearsNed Batchelder2019-06-161-19/+0
|
* Update tests to use updated APIs.Stephan Richter2019-06-101-4/+8
|
* Use pylint 2.xNed Batchelder2019-05-131-3/+3
|
* Clean up some style in #782, switch_contextNed Batchelder2019-04-281-23/+18
|
* Expose switch_context in coverage API (#782)Justas Sadzevičius2019-04-281-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 assertRaisesNed Batchelder2019-04-211-1/+2
|
* Check for skipping tests before super.setUpNed Batchelder2019-04-211-1/+1
|
* Add a failing test for #708Ned Batchelder2019-04-151-0/+15
|
* Move more PYVERSION to be PYBEHAVIORNed Batchelder2019-03-241-1/+1
|
* Make directories for the data file if needed. #721Ned Batchelder2018-10-211-0/+9
|
* Put this helper in the right placeNed Batchelder2018-10-161-6/+7
|
* SQLite on windows has slightly different messagesNed Batchelder2018-09-021-1/+1
|
* Another pytest-cov test, for --appendNed Batchelder2018-08-241-1/+10
|
* Add a test emulating pytest-covNed Batchelder2018-08-241-2/+29
|
* SQL storage means more tests need temp directoriesNed Batchelder2018-08-241-2/+0
|
* Be flexible, and accept either json-sourced or sql-source error messages in ↵Ned Batchelder2018-08-241-0/+4
| | | | some tests
* Move line_counts out of the data classesNed Batchelder2018-08-101-1/+2
|
* Check data file existence while testing combiningNed Batchelder2018-08-071-1/+2
|
* assert_file_countNed Batchelder2018-08-071-0/+3
|
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* Pragma away some test code that won't be coveredNed Batchelder2018-02-201-1/+1
|
* A new warning for files already imported before coverage startsNed Batchelder2018-02-201-0/+1
|
* Oops, omitting inside a source package didn't work. Now it does. #638Ned Batchelder2018-02-101-0/+7
|
* One start() was missing a stop(), which caused meta issues on appveyorNed Batchelder2017-11-041-0/+1
|
* Make the warning about --include and --source be a real warningNed Batchelder2017-10-241-5/+3
|
* Left over import from deleting a testNed Batchelder2017-10-241-2/+0
|
* * --source and --include are mutually exclusive (take 2) #265loic@dachary.org2017-01-071-0/+7
| | | | | close #265 close #101
* Belatedly add a test for #541, so we can fix #265 for realNed Batchelder2017-10-241-0/+26
|
* Bug 581 was fixed, don't need the skipped test any moreNed Batchelder2017-10-231-38/+0
|
* Add a failing skipped test for #581Ned Batchelder2017-06-071-0/+40
|
* Don't warn that namespace packages have no code. #572Ned Batchelder2017-05-041-4/+13
| | | | | --HG-- extra : amend_source : 68f6e0ab140e77ede11bb40dc2ac515cfb6f2333
* Refactor common test infrastructure for fiddling sys.path and finding filesNed Batchelder2017-05-041-16/+6
|
* Convert two warnings tests to non-processNed Batchelder2017-04-061-0/+43
|
* Ugly: have to pragma away nested coverageNed Batchelder2017-03-111-24/+24
|
* Cleanly stop coverage objects, for metacovNed Batchelder2017-03-111-0/+6
| | | | | Without these cov.stop() calls, the collector stack is wrong when doing meta-coverage.
* Collecting continues after saving data. #79 #448Ned Batchelder2017-03-031-2/+49
|
* Use the test-specific chdir methodNed Batchelder2017-02-111-3/+1
|
* Get rid of an unnecessary methodNed Batchelder2017-02-101-3/+3
|
* Use a metaclass to convert StopEverything to SkipTestNed Batchelder2017-01-251-2/+2
|
* More pragmas for test skipsNed Batchelder2017-01-141-1/+1
|