summaryrefslogtreecommitdiff
path: root/test/farm
Commit message (Collapse)AuthorAgeFilesLines
* Try to make this test impervious to platform differences.Ned Batchelder2009-09-272-0/+6
| | | | | --HG-- rename : test/farm/html/gold_other/_ned_coverage_trunk_test_farm_html_othersrc_other.html => test/farm/html/gold_other/blah_blah_other.html
* HTML report includes non-relative code units also. Fixes issue #11, though ↵Ned Batchelder2009-09-268-0/+415
| | | | the paths displayed in the HTML are kind of heinous.
* XML report: now validates against the Cobertura dtd.Ned Batchelder2009-09-262-7/+11
|
* XML command writes to coverage.xml, and takes a -o argument to write it ↵Ned Batchelder2009-09-251-1/+1
| | | | somewhere else.
* Fix the gold file: need to do this differently, or I'll have to touch this ↵Ned Batchelder2009-09-251-0/+1
| | | | with every version...
* Get the test working properly, including adding a usable diff comparison ↵Ned Batchelder2009-09-234-6/+13
| | | | when tests fail. Also make it all work under Py3k.
* Some XML report fixes, and a very basic test.Ned Batchelder2009-09-232-0/+35
|
* Syntax coloring in the HTML reports.Ned Batchelder2009-09-234-12/+16
|
* The best way to get py3k support: same source runs on both, with some ↵Ned Batchelder2009-09-222-7/+10
| | | | contortions.
* Change how run_timid checks the name of the Tracer class, so that 2.x and ↵Ned Batchelder2009-09-172-5/+5
| | | | 3.x will do it the same.
* Capture the full path to the data file when execution starts. Fixes issue 24.Ned Batchelder2009-09-143-0/+17
|
* Fix a problem with DecoratorTools fiddling with the trace function and ↵Ned Batchelder2009-08-092-0/+65
| | | | screwing us up. Now the Python trace function is simpler, with no variability of registered trace function. Fixes bugs #12 and #13.
* Py3k: print statements in test files and gold annotation files have to be ↵Ned Batchelder2009-07-094-6/+8
| | | | switched to a 2-and-3 compatible form that 2to3.py won't change.
* Py3k: fix more print statements.Ned Batchelder2009-07-091-1/+1
|
* Comparing files needs to be agnostic to line endings, or testing on Linux ↵Ned Batchelder2009-06-239-98/+98
| | | | won't work. Now gold files are newline-only, and the comparison function ignores line endings.
* Expand tabs to spaces before creating HTML output. Fixes bug #6.Ned Batchelder2009-06-102-0/+26
|
* Add some excluded lines to the annotation tests, and write some docstrings ↵Ned Batchelder2009-05-133-0/+6
| | | | for annotate.py
* Treat files not ending in .py properly.Ned Batchelder2009-05-071-1/+5
|
* OS truceNed Batchelder2009-05-071-8/+8
|
* Add a failing test for running non-.py files on the command line.Ned Batchelder2009-05-072-0/+16
|
* A farm test for HTML generation.Ned Batchelder2009-04-286-0/+328
|
* Annotated files are only created for source files relative to the current ↵Ned Batchelder2009-04-194-0/+0
| | | | | | | | 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 the farm tests more isolated by forcing them to erase coverage data first.Ned Batchelder2009-04-183-9/+7
|
* More annotate tests, but something is amiss.Ned Batchelder2009-04-184-0/+20
|
* Python 2.4 reported lines a little differently, so we need to be able to ↵Ned Batchelder2009-04-121-0/+31
| | | | have different gold files for that version.
* Fix \r line endingsNed Batchelder2009-03-171-5/+5
|
* Another farm test.Ned Batchelder2009-03-1511-0/+32
|
* Naming the directorie numerically is silly.Ned Batchelder2009-03-153-0/+0
| | | | | | | --HG-- rename : test/farm/000/gold/white.py,cover => test/farm/annotate/gold/white.py,cover rename : test/farm/000/run.py => test/farm/annotate/run.py rename : test/farm/000/src/white.py => test/farm/annotate/src/white.py
* The first working farm test, obsoleting a test_coverage.py test.Ned Batchelder2009-03-141-4/+4
|
* A farm of directories holding test cases.Ned Batchelder2009-03-143-0/+69
--HG-- rename : test/white.py,cover => test/farm/000/gold/white.py,cover rename : test/white.py => test/farm/000/src/white.py