summaryrefslogtreecommitdiff
path: root/tests/test_api.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Clean up for pull request #122Ned Batchelder2017-01-141-1/+9
|
* Merged in dachary/coverage.py/issue-426 (pull request #122)Ned Batchelder2017-01-141-4/+3
|\ | | | | | | make --source module do the same as --source directory #426
| * simplify --source=pkg test casesloic@dachary.org2017-01-101-4/+3
| | | | | | | | | | | | | | | | | | Instead of adding a new test, fix the existing test. It succeeded but was not actually testing the expected code path because pkg1 is both a directory and a package. --HG-- branch : issue-426
* | Jython has no multiprocessing moduleNed Batchelder2017-01-131-1/+1
|/
* Don't collapse in an ascii-only file-world. #533Ned Batchelder2016-11-171-10/+0
|
* Add a test for #533Ned Batchelder2016-11-171-0/+10
|
* Use latest pylintNed Batchelder2016-08-071-3/+3
|
* Combining twice shouldn't lose data. #412, #516Ned Batchelder2016-08-071-4/+27
|
* Update pylint to 1.5.6Ned Batchelder2016-06-251-3/+3
|