summaryrefslogtreecommitdiff
path: root/test/test_coverage.py
Commit message (Collapse)AuthorAgeFilesLines
* Move the test directory to tests to avoid conflicts with the stdlib test ↵Ned Batchelder2013-02-021-1730/+0
| | | | package.
* Mark expected-failure tests as suchNed Batchelder2013-01-011-1/+1
|
* Get rid of import craziness in the tests.Ned Batchelder2012-12-301-5/+2
|
* Fix a test involving optimized-away constant if statements, and add a test ↵Ned Batchelder2011-06-031-0/+10
| | | | about them.
* Better handling of the partial-branch exclusion regexes. Finishes issue #113.Ned Batchelder2011-05-311-29/+29
|
* Add a test helper for checking on the existence of files.Ned Batchelder2011-03-221-2/+2
|
* Backed out changeset c6083fae29bfNed Batchelder2011-03-151-28/+29
| | | | I don't know what I want to do with this wacky test yet.
* Put the missing-continue test back into the mix.Ned Batchelder2011-03-151-29/+28
|
* Figures 2.4 has different answers for the psycho edge cases.Ned Batchelder2011-03-131-2/+2
|
* Adjust some tests for PyPy: it's more aggressive about optimizing away ↵Ned Batchelder2011-03-131-2/+23
| | | | expressions with no side effects.
* Unify formatting of coverage percentages, and don't show zero or 100 as a ↵Ned Batchelder2010-08-221-1/+1
| | | | result of rounding. Fixes #41 and #70.
* All tests now use underscore names instead of some having camelCase names.Ned Batchelder2010-06-181-69/+69
|
* Isolate old-style singleton api tests.Ned Batchelder2010-06-181-2/+0
|
* Remove unittest main invocations.Ned Batchelder2010-03-151-6/+1
|
* Reports now emphasize missed lines over executed lines, since those are more ↵Ned Batchelder2010-03-131-6/+6
| | | | helpful for directing developers to improved test coverage.
* Split out the tests that really run a subprocess.Ned Batchelder2010-01-101-141/+2
|
* Update a few copyrights to 2010.Ned Batchelder2010-01-101-1/+0
|
* Parallel mode can be set from the .coveragerc file.Ned Batchelder2010-01-031-6/+52
|
* Delete files combined during 'coverage combine'. Fixes issue #40.Ned Batchelder2009-12-291-1/+6
|
* Simplify and test the default pragma exclusion.Ned Batchelder2009-12-271-0/+12
|
* Mark some lines as uncoverable, add some tests for some test methods.Ned Batchelder2009-12-261-0/+80
|
* version_info is a nicer way to check Python versions than hexversion is.Ned Batchelder2009-12-131-4/+4
|
* I never liked the assert_ method anyway. Use assertTrue and assertFalse ↵Ned Batchelder2009-12-131-10/+10
| | | | instead.
* Massive eol whitespace clean-up.Ned Batchelder2009-12-021-79/+79
|
* Tired of these TODO's that I'm not going to do anything about.Ned Batchelder2009-11-261-8/+0
|
* Rename our future-happy unittest methods to match their future versions, and ↵Ned Batchelder2009-11-261-6/+6
| | | | let the future versions win if they exist.
* When reporting, don't fall over if there's no data to report on. Fixes issue ↵Ned Batchelder2009-11-261-0/+26
| | | | #37.
* Split the oddball tests into their own file.Ned Batchelder2009-11-251-236/+0
|
* Add a test for leaking memory in the C extension. Windows only for now, ↵Ned Batchelder2009-11-221-0/+31
| | | | kind of experimental.
* Split out the report tests, to give them their due.Ned Batchelder2009-11-021-62/+1
|
* Some lint cleanupNed Batchelder2009-11-021-1/+2
|
* CodeParser couldn't deal with being passed the text directly.Ned Batchelder2009-11-021-1/+5
|
* Pylint is a stern taskmasterNed Batchelder2009-10-251-1/+2
|
* I guess the problem on 3.1 was in my C extension, because the recent changes ↵Ned Batchelder2009-10-251-14/+13
| | | | seem to have fixed this problem.
* Report errors finding source files to execute more nicely. Fixes issue #23.Ned Batchelder2009-10-251-0/+6
|
* Treat missing source files nicer.Ned Batchelder2009-10-251-0/+22
|
* CamelCase looks weird, switch to underscore_separated.Ned Batchelder2009-10-161-143/+143
|
* More tidyingNed Batchelder2009-10-151-39/+57
|
* Tidying upNed Batchelder2009-10-151-1/+0
|
* Don't forget that we disabled a test for short-term reasons.Ned Batchelder2009-10-121-1/+1
|
* The best way to get py3k support: same source runs on both, with some ↵Ned Batchelder2009-09-221-2/+3
| | | | contortions.
* Disable the long recursion test under 3.x for now: it crashes the ↵Ned Batchelder2009-09-171-13/+14
| | | | interpreter hard.
* Narrow the amount of code in a coverage start/stop window in a test so that ↵Ned Batchelder2009-07-121-8/+11
| | | | the differences in 2.x and 3.x scoping rules don't change the results of the test. Also, some commented-out logging of the trace machinery that helped me find the problem. Now all tests pass on Python 3.1!
* Py3k: some output is bytes instead of string, so convert since it doesn't ↵Ned Batchelder2009-07-091-4/+4
| | | | matter.
* Py3k: exec is a function now, not a statement. Update the tests accordingly.Ned Batchelder2009-07-081-29/+62
|
* Py3k: unify subprocess and popen4.Ned Batchelder2009-07-081-4/+4
|
* Various Py3k fixes: remove gratuitous print, don't test the print statement, ↵Ned Batchelder2009-07-081-31/+34
| | | | deal with __cmp__ ugliness, etc.
* Add a test that proves 2.3 has problems measuring exceptions. Now to figure ↵Ned Batchelder2009-07-031-0/+101
| | | | out what to do about it...
* I forget why this test was neutered.Ned Batchelder2009-06-281-1/+1
|
* Epic bug: pyexpat fiddles incorrectly with the systrace function. This is a ↵Ned Batchelder2009-06-281-1/+46
| | | | hack to make it behave correctly with coverage.py. Fixes bug #10.