summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Clean up some pylintNed Batchelder2015-07-032-3/+4
|
* Clean up remaining pylint problems in test_process.pyNed Batchelder2015-06-281-6/+19
|
* Paperwork for last mergeNed Batchelder2015-06-281-0/+2
|
* Correct commentIonel Cristian Maries2015-06-281-1/+1
|
* Fix various assertions.Ionel Cristian Maries2015-06-282-4/+9
|
* Add missing import. Add assertions for 'No data to report.' in output.Ionel Cristian Maries2015-06-281-3/+6
|
* Make return codes consistent: 1 for no data and 2 for fail_under. Now the ↵Ionel Cristian Maries2015-06-281-6/+26
| | | | `report` command will properly report `No data to report` if there's no data.
* Add tests for xml and html commands.Ionel Cristian Maries2015-06-281-2/+13
|
* Make fail_under fail if there is no coverage data.Ionel Cristian Maries2015-06-281-0/+9
|
* More PathAliases testing precisionNed Batchelder2015-06-161-7/+1
|
* Be more specific with PathAliases tests.Ned Batchelder2015-06-161-3/+7
|
* Add more contractsNed Batchelder2015-06-161-5/+4
|
* Debugging plugin wrappersNed Batchelder2015-06-141-12/+12
|
* Remove FileLocator from PathAliases. Now it always produces canonicalized paths.Ned Batchelder2015-06-132-18/+30
|
* Change FileLocator from a class to module-level functionsNed Batchelder2015-06-134-22/+22
|
* Python 3.5 raises warnings about bad escapes in re.sub replacements, so ↵Ned Batchelder2015-06-071-3/+3
| | | | escape them more.
* Tweak up the last mergeNed Batchelder2015-06-071-8/+14
|
* Use the run_in_temp_dir flag.Ionel Cristian Maries2015-06-071-2/+3
| | | | | --HG-- branch : ionelmc/correct-path-normalization-on-windows-th-1433618255921
* Use TestCase here.Ionel Cristian Maries2015-06-071-1/+2
| | | | | --HG-- branch : ionelmc/correct-path-normalization-on-windows-th-1433618255921
* Add a test for the Windows issue of actual_path.Ionel Cristian Maries2015-06-071-1/+8
| | | | | --HG-- branch : ionelmc/correct-path-normalization-on-windows-th-1433618255921
* That didn't yield interesting infoNed Batchelder2015-06-031-10/+0
|
* Machete test for why Jenkins is importing sixNed Batchelder2015-06-031-0/+10
|
* Make sure not to call functions with an error set.Ned Batchelder2015-06-031-1/+5
| | | | | Python 3.5 is stricter about getting this right. So we have to call PyErr_Print to print and clear the error before calling the warn function.
* Dict literals changed in 3.5b1Ned Batchelder2015-05-271-1/+6
|
* Remove the module-level singleton functions.Ned Batchelder2015-05-271-75/+0
|
* Python 3.5 changed some of the regex error messagesNed Batchelder2015-05-271-2/+2
|
* Normalize measured data's filenames before adding to data.Ned Batchelder2015-05-251-1/+2
|
* Files with incorrect encoding declarations are no longer ignored. #351Ned Batchelder2015-05-172-9/+8
|
* All Python source is Unicode internally.Ned Batchelder2015-05-172-9/+37
| | | | | Unfortunately, this meant hacking around a silly Python 2 restriction (can't compile a Unicode string containing an encoding declaration).
* These tests were making mycode.py for tests that didn't need it.Ned Batchelder2015-05-171-2/+12
|
* Use PyContracts so we can declare/enforce parameter and return types.Ned Batchelder2015-05-171-1/+1
| | | | | This commit doesn't add any uses of PyContracts, but gets the machinery in place.
* Refactor datetime recency testing into a tested test helperNed Batchelder2015-04-253-8/+36
|
* Fix a test, and finish the paperwork for #363.Ned Batchelder2015-04-241-0/+0
| | | | | --HG-- rename : tests/farm/annotate/gold_encogings/utf8.py,cover => tests/farm/annotate/gold_encodings/utf8.py,cover
* Merged in lep/coverage.py (pull request #48)Ned Batchelder2015-04-243-0/+15
|\ | | | | | | Fix #363: crash when annotating non-ascii characters in python 2.
| * Add annotated test file.Leonardo Pistone2015-04-141-0/+4
| |
| * Fix #363: crash when annotating non-ascii characters in python 2.Leonardo Pistone2015-04-142-0/+11
| | | | | | | | | | --HG-- extra : amend_source : 8297268531b6014e4f2c2a445385f89688a3fb93
* | A better way to indicate that a tempdir test isn't making any files.Ned Batchelder2015-04-242-5/+3
| |
* | Finish up clytwynec's pull request to implement combining directories. #354.Ned Batchelder2015-04-241-9/+9
| |
* | Merged in clytwynec/coverage.py/combine-from-multiple-dirs (pull request #51)Ned Batchelder2015-04-242-2/+39
|\ \ | | | | | | | | | Added ability to combine coverage data files from multiple directories into one file via command line args.
| * | Update testsChristine Lytwynec2015-04-232-25/+33
| | | | | | | | | | | | | | | --HG-- branch : combine-from-multiple-dirs
| * | Added ability to combine coverage data files from multiple directories into ↵Christine Lytwynec2015-04-212-2/+31
| | | | | | | | | | | | | | | | | | | | | one file via command line args. --HG-- branch : combine-from-multiple-dirs
* | | Make datetime imperviousness work on 2.6Ned Batchelder2015-04-221-2/+4
| | |
* | | Make HTML tests impervious to clock issues arising from timestampsNed Batchelder2015-04-221-28/+46
| | |
* | | More work on #299Ned Batchelder2015-04-211-3/+8
| | | | | | | | | | | | | | | Add the timestamp to the Python output files also. Move the timestamp to the footer. Add Conrad to AUTHORS, and update the CHANGES file.
* | | Merged in conradho/coverage.py (pull request #47)Ned Batchelder2015-04-211-1/+10
|\ \ \ | | | | | | | | | | | | Ticket 299: Adding a time stamp to html report
| * | | Ticket299: made it 2.6 compatible. checked 26, 27, 34Conrad Ho2015-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | --HG-- extra : amend_source : 74805b676979a84dbbe2e158e29c4ab3b4975548
| * | | Ticket299: add time stamp to index.html reports pageConrad Ho2015-04-141-1/+10
| | |/ | |/|
* | | Add a test with bidirectional generatorsNed Batchelder2015-04-201-0/+21
| | |
* | | Merge issue-324 fixNed Batchelder2015-04-202-0/+103
|\ \ \ | |_|/ |/| |
| * | Fix branch coverage for yield statements. #308 #324Ned Batchelder2015-04-202-2/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turns out the "call" and "return" trace events are really "start frame" and "end frame". They happen not only when functions are entered and left, but when generators yield and resume. We aren't interested in arcs into and out of yield statements, so the trace functions look more closely to see what's really happening, and record an arc in human-friendly terms. Thanks for Mickie Betz for pushing on this bug, although her code is no longer here. :(