summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Move fail-under tests from process-oriented integration tests to ↵Ned Batchelder2017-03-082-54/+61
| | | | fake-oriented unit tests
* Refactor command_line into a function.Ned Batchelder2017-03-082-6/+18
|
* Give should_fail_under pure tests, so we don't need processes to test ↵Ned Batchelder2017-03-082-39/+24
| | | | numeric comparisons
* Make the list of builtins more compact, since they are never the problem in ↵Ned Batchelder2017-03-051-2/+13
| | | | these tests
* Describe and relabel a test that has nothing to do with fail-under.Ned Batchelder2017-03-041-2/+6
|
* Collecting continues after saving data. #79 #448Ned Batchelder2017-03-031-2/+49
|
* Use an ISO standard encoding in coding declarationsNed Batchelder2017-02-215-6/+6
| | | | See https://twitter.com/nedbat/status/833723932658262016 for pedantry.
* Sometimes we match against files, sometimes directories.Ned Batchelder2017-02-212-1/+2
| | | | Also, skip our own test code when running tests.
* assert_warnings can now assert that there were no warnings.Ned Batchelder2017-02-202-7/+35
|
* Use the test-specific chdir methodNed Batchelder2017-02-112-4/+2
|
* Refactor module cleaning so we can use it outside of testsNed Batchelder2017-02-112-17/+34
|
* Get rid of an unnecessary methodNed Batchelder2017-02-104-17/+9
|
* Run two files to be sure we know what error we'll getNed Batchelder2017-02-101-2/+4
|
* Fix some coverage pragmasNed Batchelder2017-02-072-8/+8
|
* Give a test helper a better nameNed Batchelder2017-02-041-4/+4
|
* Fiddle with, and test, format_linesNed Batchelder2017-02-031-1/+15
|
* Split tests into their own filesNed Batchelder2017-02-033-71/+86
|
* Move the decorator out of the metaclass, so we can test itNed Batchelder2017-01-262-14/+36
|
* Use a metaclass to convert StopEverything to SkipTestNed Batchelder2017-01-252-4/+30
|
* Get rid of some unused code pathsNed Batchelder2017-01-204-39/+12
|
* A better way to deal with StopEverything exceptionsNed Batchelder2017-01-191-10/+1
|
* Oops, broke this other test using try_execfile.pyNed Batchelder2017-01-191-1/+2
|
* More-precise no-coverage pragmasNed Batchelder2017-01-196-17/+17
|
* This only happens on JythonNed Batchelder2017-01-191-1/+1
|
* Move the jython conditional for try_execfile.pyNed Batchelder2017-01-192-31/+25
|
* No test failures on JythonNed Batchelder2017-01-185-11/+47
| | | | One or two of these are questionable accommodations, but there are no failures.
* The ram test has always been flaky. Mark it as such.Ned Batchelder2017-01-181-0/+2
|
* A few more lines coveredNed Batchelder2017-01-171-3/+4
|
* Use @flaky to prevent occasional multiprocessing failuresNed Batchelder2017-01-171-0/+3
|
* Properly handle if-statements optimized away. #522Ned Batchelder2017-01-162-16/+97
|
* Oops, don't assume decorator arguments can be hashed.Ned Batchelder2017-01-161-2/+2
|
* A cleaner way to exclude Jython concerns from meta-coverage.Ned Batchelder2017-01-165-6/+6
|
* A better way to neuter decorators when not testing.Ned Batchelder2017-01-161-1/+11
|
* A one_of decorator for checking function arguments.Ned Batchelder2017-01-161-5/+18
|
* Tests of our bytes and unicode custom contractsNed Batchelder2017-01-161-1/+29
|
* Promote re_line and re_lines to real helpers, with tests.Ned Batchelder2017-01-154-31/+72
|
* Fix two warningsNed Batchelder2017-01-152-1/+3
|
* Add a test of CheckUniqueFilenamesNed Batchelder2017-01-152-4/+38
|
* Use the test method for setting the environment, so we can clean itNed Batchelder2017-01-151-1/+1
|
* More pragmas for test skipsNed Batchelder2017-01-144-5/+5
|
* Pragmas for impossible error checksNed Batchelder2017-01-141-2/+2
|
* Forgot a bunch of jython coverage pragmasNed Batchelder2017-01-144-7/+7
|
* Clean up for pull request #122Ned Batchelder2017-01-142-16/+30
|
* Merged in dachary/coverage.py/issue-426 (pull request #122)Ned Batchelder2017-01-143-6/+30
|\ | | | | | | make --source module do the same as --source directory #426
| * simplify --source=pkg test casesloic2017-01-103-14/+4
| | | | | | | | | | | | 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.
| * source_for_file helper with unit testsloic2017-01-101-1/+26
| |
| * make --source module do the same as --source directory #426loic2017-01-061-0/+9
| | | | | | | | | | | | | | | | | | The --source argument can either be a module or a directory. The user expects that it behaves the same in both cases. Make sure the module is recursively explored so that files that are not run show in the coverage report. close #426
* | Use different out directories for each farm testNed Batchelder2017-01-144-20/+20
| |