Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Start using Mock to test the command-line code. | Ned Batchelder | 2009-09-09 | 1 | -4/+47 | |
| | ||||||
* | Silly typo | Ned Batchelder | 2009-08-20 | 1 | -1/+1 | |
| | ||||||
* | Fix a problem with DecoratorTools fiddling with the trace function and ↵ | Ned Batchelder | 2009-08-09 | 2 | -0/+65 | |
| | | | | screwing us up. Now the Python trace function is simpler, with no variability of registered trace function. Fixes bugs #12 and #13. | |||||
* | Narrow the amount of code in a coverage start/stop window in a test so that ↵ | Ned Batchelder | 2009-07-12 | 1 | -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: manipulating PYTHONPATH seems different under Py 3.x, so do it ↵ | Ned Batchelder | 2009-07-10 | 1 | -3/+7 | |
| | | | | differently. | |||||
* | Py3k: print statements in test files and gold annotation files have to be ↵ | Ned Batchelder | 2009-07-09 | 4 | -6/+8 | |
| | | | | switched to a 2-and-3 compatible form that 2to3.py won't change. | |||||
* | Py3k: some output is bytes instead of string, so convert since it doesn't ↵ | Ned Batchelder | 2009-07-09 | 2 | -5/+5 | |
| | | | | matter. | |||||
* | Py3k: fix more print statements. | Ned Batchelder | 2009-07-09 | 1 | -1/+1 | |
| | ||||||
* | Have the tests use the script explicitly until I can figure out how to ↵ | Ned Batchelder | 2009-07-09 | 1 | -1/+2 | |
| | | | | install a usable script for Py3k | |||||
* | Py3k: bytes vs. strings, and one more print statement. | Ned Batchelder | 2009-07-08 | 2 | -3/+3 | |
| | ||||||
* | Py3k: exec is a function now, not a statement. Update the tests accordingly. | Ned Batchelder | 2009-07-08 | 1 | -29/+62 | |
| | ||||||
* | Py3k: unify subprocess and popen4. | Ned Batchelder | 2009-07-08 | 4 | -22/+9 | |
| | ||||||
* | Various Py3k fixes: remove gratuitous print, don't test the print statement, ↵ | Ned Batchelder | 2009-07-08 | 3 | -32/+46 | |
| | | | | deal with __cmp__ ugliness, etc. | |||||
* | Move the backward-compatibility definitions to a common file. There seems to ↵ | Ned Batchelder | 2009-07-03 | 1 | -8/+1 | |
| | | | | be no pretty way to do this. | |||||
* | Add a test that proves 2.3 has problems measuring exceptions. Now to figure ↵ | Ned Batchelder | 2009-07-03 | 1 | -0/+101 | |
| | | | | out what to do about it... | |||||
* | Clean up the `set` definitions for 2.3 (these should go someplace common). | Ned Batchelder | 2009-07-03 | 1 | -1/+2 | |
| | ||||||
* | I forget why this test was neutered. | Ned Batchelder | 2009-06-28 | 1 | -1/+1 | |
| | ||||||
* | Epic bug: pyexpat fiddles incorrectly with the systrace function. This is a ↵ | Ned Batchelder | 2009-06-28 | 1 | -1/+46 | |
| | | | | hack to make it behave correctly with coverage.py. Fixes bug #10. | |||||
* | When executing files, open them in Universal Newline mode, just as Python ↵ | Ned Batchelder | 2009-06-27 | 1 | -0/+11 | |
| | | | | itself does. Makes it possible to run Python from Windows on Mac, for example. | |||||
* | PYTHONPATH might not exist (for example on OS/X) | Ned Batchelder | 2009-06-27 | 1 | -1/+1 | |
| | ||||||
* | Don't measure the coverage package itself. Inspired by, but does not fix, ↵ | Ned Batchelder | 2009-06-24 | 2 | -7/+17 | |
| | | | | issue #8. | |||||
* | Comparing files needs to be agnostic to line endings, or testing on Linux ↵ | Ned Batchelder | 2009-06-23 | 10 | -99/+108 | |
| | | | | won't work. Now gold files are newline-only, and the comparison function ignores line endings. | |||||
* | Remove the fixed limit on recursion depth. Fixes issue #9. | Ned Batchelder | 2009-06-23 | 1 | -0/+31 | |
| | ||||||
* | Point to new docs; more doc tweaks. | Ned Batchelder | 2009-06-13 | 1 | -1/+1 | |
| | ||||||
* | Get the flat_rootname right for nested CodeUnits. Thanks, Christian Heimes. | Ned Batchelder | 2009-06-12 | 7 | -0/+65 | |
| | ||||||
* | Slight tweak so I could debug a test problem. | Ned Batchelder | 2009-06-12 | 1 | -4/+6 | |
| | ||||||
* | Expand tabs to spaces before creating HTML output. Fixes bug #6. | Ned Batchelder | 2009-06-10 | 2 | -0/+26 | |
| | ||||||
* | Silence pylint nagging. | Ned Batchelder | 2009-05-13 | 1 | -6/+15 | |
| | ||||||
* | Add some excluded lines to the annotation tests, and write some docstrings ↵ | Ned Batchelder | 2009-05-13 | 3 | -0/+6 | |
| | | | | for annotate.py | |||||
* | Give the singleton module interface a way to keep the old behavior of ↵ | Ned Batchelder | 2009-05-12 | 1 | -2/+1 | |
| | | | | auto-loading and -saving data as needed. | |||||
* | cover_stdlib wasn't quite right, it controls covering the entire Python ↵ | Ned Batchelder | 2009-05-12 | 1 | -2/+2 | |
| | | | | library, so cover_pylib it is. | |||||
* | Reporting on nothing is OK. | Ned Batchelder | 2009-05-11 | 1 | -0/+6 | |
| | ||||||
* | Oops: two tests with the same name means one of them doesn't get run! ↵ | Ned Batchelder | 2009-05-11 | 1 | -2/+2 | |
| | | | | Thanks, pylint. | |||||
* | Re-think the api to set the data file name and suffix. | Ned Batchelder | 2009-05-11 | 2 | -4/+47 | |
| | ||||||
* | More docstrings | Ned Batchelder | 2009-05-09 | 6 | -1/+20 | |
| | ||||||
* | More docstrings all around. | Ned Batchelder | 2009-05-09 | 2 | -6/+14 | |
| | ||||||
* | Also make __builtins__ available in main programs. | Ned Batchelder | 2009-05-09 | 2 | -1/+6 | |
| | ||||||
* | Change run_python_file again so that it doesn't produce compiled turds in ↵ | Ned Batchelder | 2009-05-09 | 1 | -16/+10 | |
| | | | | the file system. | |||||
* | makeFile is more useful if it doesn't append .py | Ned Batchelder | 2009-05-08 | 4 | -18/+34 | |
| | ||||||
* | Treat files not ending in .py properly. | Ned Batchelder | 2009-05-07 | 1 | -1/+5 | |
| | ||||||
* | OS truce | Ned Batchelder | 2009-05-07 | 1 | -8/+8 | |
| | ||||||
* | Add a failing test for running non-.py files on the command line. | Ned Batchelder | 2009-05-07 | 3 | -2/+34 | |
| | ||||||
* | Change how data is harvested from the collector to simplify api use. | Ned Batchelder | 2009-05-05 | 2 | -3/+9 | |
| | ||||||
* | Lint lint | Ned Batchelder | 2009-05-05 | 1 | -1/+1 | |
| | ||||||
* | Lint clean-ups. | Ned Batchelder | 2009-05-05 | 1 | -8/+13 | |
| | ||||||
* | Use the new clear_exclude() function to improve coverage_coverage.py | Ned Batchelder | 2009-05-04 | 1 | -2/+8 | |
| | ||||||
* | Added clear_exclude() and get_exclude_list() | Ned Batchelder | 2009-05-04 | 1 | -0/+12 | |
| | ||||||
* | Pass values into coverage's contructor rather than set properties. | Ned Batchelder | 2009-05-04 | 1 | -2/+1 | |
| | ||||||
* | Split api tests into their own file. | Ned Batchelder | 2009-05-04 | 2 | -171/+177 | |
| | ||||||
* | Keeping a stack of Collectors makes it possible for Coverage to measure ↵ | Ned Batchelder | 2009-05-03 | 1 | -0/+34 | |
| | | | | itself (mostly). |