summaryrefslogtreecommitdiff
path: root/test/farm
Commit message (Collapse)AuthorAgeFilesLines
* Move the test directory to tests to avoid conflicts with the stdlib test ↵Ned Batchelder2013-02-02104-4570/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | package. --HG-- rename : test/__init__.py => tests/__init__.py rename : test/backtest.py => tests/backtest.py rename : test/backunittest.py => tests/backunittest.py rename : test/coveragetest.py => tests/coveragetest.py rename : test/covmodzip1.py => tests/covmodzip1.py rename : test/eggsrc/egg1/__init__.py => tests/eggsrc/egg1/__init__.py rename : test/eggsrc/egg1/egg1.py => tests/eggsrc/egg1/egg1.py rename : test/eggsrc/setup.py => tests/eggsrc/setup.py rename : test/farm/annotate/annotate_dir.py => tests/farm/annotate/annotate_dir.py rename : test/farm/annotate/gold/white.py,cover => tests/farm/annotate/gold/white.py,cover rename : test/farm/annotate/gold_anno_dir/a___init__.py,cover => tests/farm/annotate/gold_anno_dir/a___init__.py,cover rename : test/farm/annotate/gold_anno_dir/a_a.py,cover => tests/farm/annotate/gold_anno_dir/a_a.py,cover rename : test/farm/annotate/gold_anno_dir/b___init__.py,cover => tests/farm/annotate/gold_anno_dir/b___init__.py,cover rename : test/farm/annotate/gold_anno_dir/b_b.py,cover => tests/farm/annotate/gold_anno_dir/b_b.py,cover rename : test/farm/annotate/gold_anno_dir/multi.py,cover => tests/farm/annotate/gold_anno_dir/multi.py,cover rename : test/farm/annotate/gold_multi/a/__init__.py,cover => tests/farm/annotate/gold_multi/a/__init__.py,cover rename : test/farm/annotate/gold_multi/a/a.py,cover => tests/farm/annotate/gold_multi/a/a.py,cover rename : test/farm/annotate/gold_multi/b/__init__.py,cover => tests/farm/annotate/gold_multi/b/__init__.py,cover rename : test/farm/annotate/gold_multi/b/b.py,cover => tests/farm/annotate/gold_multi/b/b.py,cover rename : test/farm/annotate/gold_multi/multi.py,cover => tests/farm/annotate/gold_multi/multi.py,cover rename : test/farm/annotate/gold_v24/white.py,cover => tests/farm/annotate/gold_v24/white.py,cover rename : test/farm/annotate/run.py => tests/farm/annotate/run.py rename : test/farm/annotate/run_multi.py => tests/farm/annotate/run_multi.py rename : test/farm/annotate/src/a/__init__.py => tests/farm/annotate/src/a/__init__.py rename : test/farm/annotate/src/a/a.py => tests/farm/annotate/src/a/a.py rename : test/farm/annotate/src/b/__init__.py => tests/farm/annotate/src/b/__init__.py rename : test/farm/annotate/src/b/b.py => tests/farm/annotate/src/b/b.py rename : test/farm/annotate/src/multi.py => tests/farm/annotate/src/multi.py rename : test/farm/annotate/src/white.py => tests/farm/annotate/src/white.py rename : test/farm/html/gold_a/a.html => tests/farm/html/gold_a/a.html rename : test/farm/html/gold_a/index.html => tests/farm/html/gold_a/index.html rename : test/farm/html/gold_b_branch/b.html => tests/farm/html/gold_b_branch/b.html rename : test/farm/html/gold_b_branch/index.html => tests/farm/html/gold_b_branch/index.html rename : test/farm/html/gold_bom/bom.html => tests/farm/html/gold_bom/bom.html rename : test/farm/html/gold_bom/index.html => tests/farm/html/gold_bom/index.html rename : test/farm/html/gold_isolatin1/index.html => tests/farm/html/gold_isolatin1/index.html rename : test/farm/html/gold_isolatin1/isolatin1.html => tests/farm/html/gold_isolatin1/isolatin1.html rename : test/farm/html/gold_omit_1/index.html => tests/farm/html/gold_omit_1/index.html rename : test/farm/html/gold_omit_1/m1.html => tests/farm/html/gold_omit_1/m1.html rename : test/farm/html/gold_omit_1/m2.html => tests/farm/html/gold_omit_1/m2.html rename : test/farm/html/gold_omit_1/m3.html => tests/farm/html/gold_omit_1/m3.html rename : test/farm/html/gold_omit_1/main.html => tests/farm/html/gold_omit_1/main.html rename : test/farm/html/gold_omit_2/index.html => tests/farm/html/gold_omit_2/index.html rename : test/farm/html/gold_omit_2/m2.html => tests/farm/html/gold_omit_2/m2.html rename : test/farm/html/gold_omit_2/m3.html => tests/farm/html/gold_omit_2/m3.html rename : test/farm/html/gold_omit_2/main.html => tests/farm/html/gold_omit_2/main.html rename : test/farm/html/gold_omit_3/index.html => tests/farm/html/gold_omit_3/index.html rename : test/farm/html/gold_omit_3/m3.html => tests/farm/html/gold_omit_3/m3.html rename : test/farm/html/gold_omit_3/main.html => tests/farm/html/gold_omit_3/main.html rename : test/farm/html/gold_omit_4/index.html => tests/farm/html/gold_omit_4/index.html rename : test/farm/html/gold_omit_4/m1.html => tests/farm/html/gold_omit_4/m1.html rename : test/farm/html/gold_omit_4/m3.html => tests/farm/html/gold_omit_4/m3.html rename : test/farm/html/gold_omit_4/main.html => tests/farm/html/gold_omit_4/main.html rename : test/farm/html/gold_omit_5/index.html => tests/farm/html/gold_omit_5/index.html rename : test/farm/html/gold_omit_5/m1.html => tests/farm/html/gold_omit_5/m1.html rename : test/farm/html/gold_omit_5/main.html => tests/farm/html/gold_omit_5/main.html rename : test/farm/html/gold_other/blah_blah_other.html => tests/farm/html/gold_other/blah_blah_other.html rename : test/farm/html/gold_other/here.html => tests/farm/html/gold_other/here.html rename : test/farm/html/gold_other/index.html => tests/farm/html/gold_other/index.html rename : test/farm/html/gold_partial/index.html => tests/farm/html/gold_partial/index.html rename : test/farm/html/gold_partial/partial.html => tests/farm/html/gold_partial/partial.html rename : test/farm/html/gold_styled/a.html => tests/farm/html/gold_styled/a.html rename : test/farm/html/gold_styled/extra.css => tests/farm/html/gold_styled/extra.css rename : test/farm/html/gold_styled/index.html => tests/farm/html/gold_styled/index.html rename : test/farm/html/gold_styled/style.css => tests/farm/html/gold_styled/style.css rename : test/farm/html/gold_unicode/index.html => tests/farm/html/gold_unicode/index.html rename : test/farm/html/gold_unicode/unicode.html => tests/farm/html/gold_unicode/unicode.html rename : test/farm/html/gold_x_xml/coverage.xml => tests/farm/html/gold_x_xml/coverage.xml rename : test/farm/html/gold_y_xml_branch/coverage.xml => tests/farm/html/gold_y_xml_branch/coverage.xml rename : test/farm/html/othersrc/other.py => tests/farm/html/othersrc/other.py rename : test/farm/html/run_a.py => tests/farm/html/run_a.py rename : test/farm/html/run_a_xml_1.py => tests/farm/html/run_a_xml_1.py rename : test/farm/html/run_a_xml_2.py => tests/farm/html/run_a_xml_2.py rename : test/farm/html/run_b_branch.py => tests/farm/html/run_b_branch.py rename : test/farm/html/run_bom.py => tests/farm/html/run_bom.py rename : test/farm/html/run_isolatin1.py => tests/farm/html/run_isolatin1.py rename : test/farm/html/run_omit_1.py => tests/farm/html/run_omit_1.py rename : test/farm/html/run_omit_2.py => tests/farm/html/run_omit_2.py rename : test/farm/html/run_omit_3.py => tests/farm/html/run_omit_3.py rename : test/farm/html/run_omit_4.py => tests/farm/html/run_omit_4.py rename : test/farm/html/run_omit_5.py => tests/farm/html/run_omit_5.py rename : test/farm/html/run_other.py => tests/farm/html/run_other.py rename : test/farm/html/run_partial.py => tests/farm/html/run_partial.py rename : test/farm/html/run_styled.py => tests/farm/html/run_styled.py rename : test/farm/html/run_tabbed.py => tests/farm/html/run_tabbed.py rename : test/farm/html/run_unicode.py => tests/farm/html/run_unicode.py rename : test/farm/html/run_y_xml_branch.py => tests/farm/html/run_y_xml_branch.py rename : test/farm/html/src/a.py => tests/farm/html/src/a.py rename : test/farm/html/src/b.py => tests/farm/html/src/b.py rename : test/farm/html/src/bom.py => tests/farm/html/src/bom.py rename : test/farm/html/src/coverage.xml => tests/farm/html/src/coverage.xml rename : test/farm/html/src/extra.css => tests/farm/html/src/extra.css rename : test/farm/html/src/here.py => tests/farm/html/src/here.py rename : test/farm/html/src/isolatin1.py => tests/farm/html/src/isolatin1.py rename : test/farm/html/src/m1.py => tests/farm/html/src/m1.py rename : test/farm/html/src/m2.py => tests/farm/html/src/m2.py rename : test/farm/html/src/m3.py => tests/farm/html/src/m3.py rename : test/farm/html/src/main.py => tests/farm/html/src/main.py rename : test/farm/html/src/omit4.ini => tests/farm/html/src/omit4.ini rename : test/farm/html/src/omit5.ini => tests/farm/html/src/omit5.ini rename : test/farm/html/src/partial.py => tests/farm/html/src/partial.py rename : test/farm/html/src/run_a_xml_2.ini => tests/farm/html/src/run_a_xml_2.ini rename : test/farm/html/src/tabbed.py => tests/farm/html/src/tabbed.py rename : test/farm/html/src/unicode.py => tests/farm/html/src/unicode.py rename : test/farm/html/src/y.py => tests/farm/html/src/y.py rename : test/farm/run/run_chdir.py => tests/farm/run/run_chdir.py rename : test/farm/run/run_timid.py => tests/farm/run/run_timid.py rename : test/farm/run/run_xxx.py => tests/farm/run/run_xxx.py rename : test/farm/run/src/chdir.py => tests/farm/run/src/chdir.py rename : test/farm/run/src/showtrace.py => tests/farm/run/src/showtrace.py rename : test/farm/run/src/subdir/placeholder => tests/farm/run/src/subdir/placeholder rename : test/farm/run/src/xxx => tests/farm/run/src/xxx rename : test/js/index.html => tests/js/index.html rename : test/js/tests.js => tests/js/tests.js rename : test/modules/aa/__init__.py => tests/modules/aa/__init__.py rename : test/modules/aa/afile.odd.py => tests/modules/aa/afile.odd.py rename : test/modules/aa/afile.py => tests/modules/aa/afile.py rename : test/modules/aa/bb.odd/bfile.py => tests/modules/aa/bb.odd/bfile.py rename : test/modules/aa/bb/__init__.py => tests/modules/aa/bb/__init__.py rename : test/modules/aa/bb/bfile.odd.py => tests/modules/aa/bb/bfile.odd.py rename : test/modules/aa/bb/bfile.py => tests/modules/aa/bb/bfile.py rename : test/modules/aa/bb/cc/__init__.py => tests/modules/aa/bb/cc/__init__.py rename : test/modules/aa/bb/cc/cfile.py => tests/modules/aa/bb/cc/cfile.py rename : test/modules/aa/zfile.py => tests/modules/aa/zfile.py rename : test/modules/covmod1.py => tests/modules/covmod1.py rename : test/modules/pkg1/__init__.py => tests/modules/pkg1/__init__.py rename : test/modules/pkg1/__main__.py => tests/modules/pkg1/__main__.py rename : test/modules/pkg1/p1a.py => tests/modules/pkg1/p1a.py rename : test/modules/pkg1/p1b.py => tests/modules/pkg1/p1b.py rename : test/modules/pkg1/p1c.py => tests/modules/pkg1/p1c.py rename : test/modules/pkg1/runmod2.py => tests/modules/pkg1/runmod2.py rename : test/modules/pkg1/sub/__init__.py => tests/modules/pkg1/sub/__init__.py rename : test/modules/pkg1/sub/__main__.py => tests/modules/pkg1/sub/__main__.py rename : test/modules/pkg1/sub/ps1a.py => tests/modules/pkg1/sub/ps1a.py rename : test/modules/pkg1/sub/runmod3.py => tests/modules/pkg1/sub/runmod3.py rename : test/modules/pkg2/__init__.py => tests/modules/pkg2/__init__.py rename : test/modules/pkg2/p2a.py => tests/modules/pkg2/p2a.py rename : test/modules/pkg2/p2b.py => tests/modules/pkg2/p2b.py rename : test/modules/runmod1.py => tests/modules/runmod1.py rename : test/modules/usepkgs.py => tests/modules/usepkgs.py rename : test/moremodules/othermods/__init__.py => tests/moremodules/othermods/__init__.py rename : test/moremodules/othermods/othera.py => tests/moremodules/othermods/othera.py rename : test/moremodules/othermods/otherb.py => tests/moremodules/othermods/otherb.py rename : test/moremodules/othermods/sub/__init__.py => tests/moremodules/othermods/sub/__init__.py rename : test/moremodules/othermods/sub/osa.py => tests/moremodules/othermods/sub/osa.py rename : test/moremodules/othermods/sub/osb.py => tests/moremodules/othermods/sub/osb.py rename : test/osinfo.py => tests/osinfo.py rename : test/qunit/jquery.tmpl.min.js => tests/qunit/jquery.tmpl.min.js rename : test/qunit/qunit.css => tests/qunit/qunit.css rename : test/qunit/qunit.js => tests/qunit/qunit.js rename : test/stress_phystoken.tok => tests/stress_phystoken.tok rename : test/stress_phystoken_dos.tok => tests/stress_phystoken_dos.tok rename : test/test_api.py => tests/test_api.py rename : test/test_arcs.py => tests/test_arcs.py rename : test/test_cmdline.py => tests/test_cmdline.py rename : test/test_codeunit.py => tests/test_codeunit.py rename : test/test_config.py => tests/test_config.py rename : test/test_coverage.py => tests/test_coverage.py rename : test/test_data.py => tests/test_data.py rename : test/test_execfile.py => tests/test_execfile.py rename : test/test_farm.py => tests/test_farm.py rename : test/test_files.py => tests/test_files.py rename : test/test_html.py => tests/test_html.py rename : test/test_misc.py => tests/test_misc.py rename : test/test_oddball.py => tests/test_oddball.py rename : test/test_parser.py => tests/test_parser.py rename : test/test_phystokens.py => tests/test_phystokens.py rename : test/test_process.py => tests/test_process.py rename : test/test_results.py => tests/test_results.py rename : test/test_summary.py => tests/test_summary.py rename : test/test_templite.py => tests/test_templite.py rename : test/test_testing.py => tests/test_testing.py rename : test/test_xml.py => tests/test_xml.py rename : test/try_execfile.py => tests/try_execfile.py
* SpacesNed Batchelder2012-12-021-1/+1
|
* Use '# pragma: nested' for lines not covered due to nested coverage.Ned Batchelder2012-12-0217-34/+34
|
* A bunch of tweaks to improve coverageNed Batchelder2012-12-011-8/+19
|
* Igor sets the tracers from args, use that during coverage measurement.Ned Batchelder2012-11-301-7/+7
|
* Now package name can be empty.Ned Batchelder2012-11-213-3/+3
|
* One more way to be picky: no final blank lines.Ned Batchelder2012-10-303-3/+0
|
* The gold files for the test for #179.Ned Batchelder2012-05-142-0/+194
|
* Add a test case for bug #179.Ned Batchelder2012-05-113-1/+33
|
* The [html]extra_css configuration value is a file path to a CSS file that ↵Ned Batchelder2012-04-206-0/+489
| | | | gets copied into the HTML report.
* Don't need these files, they aren't part of the comparison.Ned Batchelder2012-03-229-1034/+0
|
* If a source file has an encoding declaration, use it when producing the ↵Ned Batchelder2012-03-214-0/+206
| | | | HTML. Fixes issue #157.
* All the tests pass under PyPy: sys has a bogus __file__, Unicode is 4-byte, ↵Ned Batchelder2012-03-201-1/+11
| | | | and pypy inserts an extra stack frame into tracebacks.
* Change the name of the C tracer from Tracer to CTracer, as it always should ↵Ned Batchelder2011-09-031-1/+1
| | | | have been.
* Properly handle Unicode characters in Python source when creating the HTML ↵Ned Batchelder2011-08-1714-1/+1240
| | | | report (except surrogates come out as pairs of blots in the HTML). Fixes #124 and #144.
* for-else constructs are handled properly, avoiding bogus partial branch ↵Ned Batchelder2011-07-042-12/+13
| | | | warnings. Fixes issue #122. Bonus irony: this also makes while 1 loops automatically understood better too.
* Update the gold files for HTML since the index file now has keyboard help.Ned Batchelder2011-06-269-0/+150
|
* Fix a test involving optimized-away constant if statements, and add a test ↵Ned Batchelder2011-06-031-1/+6
| | | | about them.
* Better handling of the partial-branch exclusion regexes. Finishes issue #113.Ned Batchelder2011-05-314-0/+249
|
* C trace function now roundtrips properly. Fixes #123 and #125.Ned Batchelder2011-04-272-5/+9
| | | | | --HG-- branch : bug_123
* Changing the HTML report means updating gold files.Ned Batchelder2011-04-2126-1897/+2373
|
* Fix the url canonicalizer to also deal with release urls.Ned Batchelder2010-09-083-3/+3
|
* Format numbers with %g in xmlreport, since py3.2 uses more digits in str() ↵Ned Batchelder2010-09-062-5/+5
| | | | than previous Pythons, throwing off the gold files. We didn't need 9 digits of precision anyway...
* The XML report was missing an attribute Cobertura needed. Fixes #65 and #81.Ned Batchelder2010-09-041-1/+1
|
* 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.
* Get ready to have version-specific doc URLs.Ned Batchelder2010-08-205-2/+5
|
* Omit and include are now filename patterns rather than prefixes. BACKWARD ↵Ned Batchelder2010-05-234-5/+5
| | | | INCOMPATIBLE change.
* The tweaks to HTML today mean the gold files need updating.Ned Batchelder2010-03-1426-246/+498
|
* Reports now emphasize missed lines over executed lines, since those are more ↵Ned Batchelder2010-03-131-1/+1
| | | | helpful for directing developers to improved test coverage.
* XML output file is configurable in .rc file.Ned Batchelder2010-01-094-6/+49
| | | | | --HG-- rename : test/farm/html/run_a_xml.py => test/farm/html/run_a_xml_1.py
* HTML output directory is now settable in the .rc file.Ned Batchelder2010-01-062-1/+4
|
* Omit prefixes can be specified in the config file.Ned Batchelder2009-12-2814-9/+459
|
* Fix crlfsNed Batchelder2009-12-274-16/+16
|
* Add more tests of omitting files during HTML reporting, and a better way to ↵Ned Batchelder2009-12-2721-2/+784
| | | | enable re-importing modules during test_farm tests.
* Remove some redundancy in the farm tests.Ned Batchelder2009-12-274-10/+5
| | | | | --HG-- rename : test/farm/html/run_x_xml.py => test/farm/html/run_a_xml.py
* Make the two html templates more similar in style.Ned Batchelder2009-12-067-416/+371
|
* Clean-upsNed Batchelder2009-12-054-4/+4
|
* A little explanation of the partial branch annotations in the HTML report.Ned Batchelder2009-11-303-19/+56
|
* XML report now includes branch information.Ned Batchelder2009-11-263-0/+51
|
* Move the javascript code for click-to-sort columns into its own file. It ↵Ned Batchelder2009-11-2520-815/+102
| | | | helps keep the HTML tests from changing when the code changes. Also, don't compare non-HTML files in the tests.
* Don't annotate partial branches with -1, use 'exit' instead.Ned Batchelder2009-11-247-0/+448
|
* Update the HTML gold files so all the tests pass.Ned Batchelder2009-11-219-177/+272
|
* Tabs are 8 spaces, as the Python docs dictate. Fixes issue #31.Ned Batchelder2009-11-152-6/+8
|
* Annotations on yellow HTML lines with the line numbers not visited.Ned Batchelder2009-11-081-10/+27
|
* Updated gold files due to the hover change in the index.html fileNed Batchelder2009-11-022-9/+18
|
* Stupid simplistic not working yet branch reporting in HTMLNed Batchelder2009-10-251-2/+25
|
* 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.