summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Muliple loops and multi-line loops didn't work.Ned Batchelder2009-04-202-1/+23
|
* The CodeUnit relative decision was wrong in the case that the module was ↵Ned Batchelder2009-04-191-1/+7
| | | | specified relatively to begin with.
* reversed() is new in 2.4, so use a cobbled-together function so we can test ↵Ned Batchelder2009-04-191-1/+6
| | | | under 2.3.
* Templite: a lightweight template class to use when making HTML reports.Ned Batchelder2009-04-193-1/+177
|
* Line length < 80.Ned Batchelder2009-04-196-11/+17
|
* Annotated files are only created for source files relative to the current ↵Ned Batchelder2009-04-197-13/+45
| | | | | | | | directory. When writing to a separate file, annotation file names include the directory hierarchy flattened, so that same-named files won't collide. --HG-- rename : test/farm/annotate/gold_anno_dir/a.py,cover => test/farm/annotate/gold_anno_dir/a_a.py,cover rename : test/farm/annotate/gold_anno_dir/b.py,cover => test/farm/annotate/gold_anno_dir/b_b.py,cover
* Make it more convenient to run tests outside of the makefile.Ned Batchelder2009-04-191-1/+3
|
* More docstrings.Ned Batchelder2009-04-191-9/+17
|
* Make the farm tests more isolated by forcing them to erase coverage data first.Ned Batchelder2009-04-183-9/+7
|
* Remove debugging trace.Ned Batchelder2009-04-181-1/+0
|
* More annotate tests, but something is amiss.Ned Batchelder2009-04-186-4/+35
|
* Quieter alltests.cmdNed Batchelder2009-04-181-4/+4
|
* SillyNed Batchelder2009-04-181-1/+1
|
* New more flexible data storage.Ned Batchelder2009-04-184-26/+81
|
* More pylint shenanigans.Ned Batchelder2009-04-182-2/+5
|
* Testing and clean up for data.pyNed Batchelder2009-04-182-12/+77
|
* A truce with pylint over the test files.Ned Batchelder2009-04-182-1/+2
|
* Keep CHANGES up to date.Ned Batchelder2009-04-181-0/+2
|
* Keep CHANGES up to date.Ned Batchelder2009-04-181-0/+2
|
* Commonalize more of the test case code.Ned Batchelder2009-04-184-45/+46
|
* Put coveragetest.py under the pylint regime.Ned Batchelder2009-04-182-8/+21
|
* Use our CoverageTest base class to get isolation (in a new directory) for ↵Ned Batchelder2009-04-181-2/+2
| | | | the data tests.
* Remove the tests' dependence on the 3rd party path module.Ned Batchelder2009-04-181-7/+5
|
* Use a coverage object rather than the module interface for testing, to get ↵Ned Batchelder2009-04-181-6/+7
| | | | better isolation. Tests were failing because the exclusion regex is appended to between tests.
* Split CoverageTest into its own module so that it can be used by more tests.Ned Batchelder2009-04-172-161/+165
|
* Refactor the file name stuff in CoverageData, and start its own test file.Ned Batchelder2009-04-173-16/+42
|
* A cleanup from the test class rename.Ned Batchelder2009-04-171-2/+2
|
* Finally realized that unit test classes should be named like any other ↵Ned Batchelder2009-04-172-12/+12
| | | | class: after the instance they create.
* Data formatNed Batchelder2009-04-171-10/+8
|
* Remove an unused parameter, and other small cleanups to data storageNed Batchelder2009-04-162-10/+15
|
* New pylint returns a status code: ignore it.Ned Batchelder2009-04-161-3/+3
|
* If a module was loaded from a .pyc, report its file as .pyNed Batchelder2009-04-153-3/+54
|
* It's ok to ask the data module about files that were never measured. Fixes ↵Ned Batchelder2009-04-142-2/+31
| | | | <<issue 2>>.
* Pylint tweaksNed Batchelder2009-04-125-5/+13
|
* Some light clean up of test_farm.py due to pylint.Ned Batchelder2009-04-122-5/+7
|
* Python 2.4 reported lines a little differently, so we need to be able to ↵Ned Batchelder2009-04-122-0/+49
| | | | have different gold files for that version.
* Generated nose tests are better when they have a unique description.Ned Batchelder2009-04-121-0/+1
|
* Fix the use of nose test generators, so that we can use setUp and tearDown. ↵Ned Batchelder2009-04-121-24/+70
| | | | Fix the changing of directories, so that failing tests don't cascade into other failures.
* Starting to consider richer data storage.Ned Batchelder2009-04-071-0/+11
|
* Move the open outside the try, since the finally is only needed once the ↵Ned Batchelder2009-04-071-1/+1
| | | | file is successfully opened.
* Use pickle to store coverage data instead of marshal. Marshal is not ↵Ned Batchelder2009-04-051-3/+4
| | | | guaranteed compatible across versions, although it is faster.
* A technicality: if should_trace returned a non-string, it would leak.Ned Batchelder2009-04-051-3/+11
|
* No need to incref None, and we can use tuple operations w/o error checking.Ned Batchelder2009-04-051-3/+2
|
* Remove debug printf of calls to should_trace: it's only called when I ↵Ned Batchelder2009-04-051-5/+0
| | | | thought it was being called.
* Keep the CHANGES list up to dateNed Batchelder2009-04-051-2/+5
|
* Use a finally clause to ensure that coverage measurement is stopped no ↵Ned Batchelder2009-04-042-2/+17
| | | | matter how the main program terminates.
* Get rid of annotated coverage source files.Ned Batchelder2009-04-041-0/+1
|
* Even better execution of main files.Ned Batchelder2009-04-044-14/+75
|
* Remove unneeded importNed Batchelder2009-04-031-1/+1
|
* Factor execfile out of cmdline, so that we can call python main programs ↵Ned Batchelder2009-04-034-3/+37
| | | | properly: now they get the correct value for __file__.