Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Support for full qnames for old-style classes. | Stephan Richter | 2019-06-10 | 1 | -1/+15 | |
| | ||||||
* | Only compute contexts in HTML coverage when the option is specified. (For ↵ | Stephan Richter | 2019-06-10 | 2 | -3/+9 | |
| | | | | large coverage data sets, reporting the context can be expensive.) | |||||
* | Tricky case: Thread switching is getting in the way. | Stephan Richter | 2019-06-10 | 1 | -1/+6 | |
| | ||||||
* | Handle TestCase classes with just one test, too. | Albertas Agejevas | 2019-06-10 | 1 | -1/+2 | |
| | ||||||
* | Fix styling and tests. (The tests are slightly insane with no obvious way to ↵ | Stephan Richter | 2019-06-10 | 2 | -8/+4 | |
| | | | | update the expected output.) | |||||
* | Extend HTML report to to show contexts for every covered line. | Stephan Richter | 2019-06-10 | 6 | -2/+79 | |
| | ||||||
* | Add ability to report contexts for all lines of a file. | Stephan Richter | 2019-06-10 | 2 | -0/+37 | |
| | ||||||
* | Make sure to report the full Python path for the test function. That way we ↵ | Stephan Richter | 2019-06-10 | 1 | -7/+11 | |
| | | | | can report on namespaces. | |||||
* | Provide a default for query contexts. | Stephan Richter | 2019-06-10 | 1 | -0/+1 | |
| | ||||||
* | Sigh, sqlite3 does not support proper array serialization. | Stephan Richter | 2019-06-10 | 1 | -8/+10 | |
| | ||||||
* | Pass the contexts to the report command. | Albertas Agejevas | 2019-06-10 | 3 | -6/+22 | |
| | ||||||
* | Initialize attributes. | Stephan Richter | 2019-06-10 | 1 | -0/+2 | |
| | ||||||
* | Support for multiple, glob-based contexts in result queries. | Stephan Richter | 2019-06-10 | 2 | -10/+46 | |
| | ||||||
* | group() can return a number of groups. Nice. | Ned Batchelder | 2019-06-10 | 1 | -1/+1 | |
| | ||||||
* | Adapt to optimization tweak in CPython 3.8.0b1 | Ned Batchelder | 2019-06-05 | 1 | -1/+4 | |
| | ||||||
* | Silence a silly pylint warning | Ned Batchelder | 2019-06-01 | 1 | -1/+1 | |
| | ||||||
* | Python 3.8 added an argument to _bootstrap. It should have been like this ↵ | Ned Batchelder | 2019-05-29 | 1 | -2/+2 | |
| | | | | anyway. | |||||
* | Word-smith the html warning | Ned Batchelder | 2019-05-26 | 1 | -4/+6 | |
| | ||||||
* | Add warning section | S.Y. Lee | 2019-05-26 | 1 | -0/+4 | |
| | ||||||
* | Better tests of HTML delta generation | Ned Batchelder | 2019-05-26 | 1 | -1/+1 | |
| | | | | | | The old tests relied on deleting files and seeing them get recreated, which could be misleading. The new tests track which files were opened for writing, which is more accurate. | |||||
* | Use pylint 2.x | Ned Batchelder | 2019-05-13 | 8 | -11/+11 | |
| | ||||||
* | Version bump | Ned Batchelder | 2019-05-07 | 1 | -1/+1 | |
| | ||||||
* | Docs for new dynamic context techniques | Ned Batchelder | 2019-04-28 | 1 | -1/+3 | |
| | ||||||
* | Expose switch_context in coverage API (#782) | Justas Sadzevičius | 2019-04-28 | 1 | -0/+16 | |
| | | | | | | | | | | | | * Expose switch_context in public API * Test switch_context * Helper method to get full paths to measured files * Get correct file paths on all OS * Note version that introduced this method | |||||
* | Old-style classes can report the test_function name. #797 | Ned Batchelder | 2019-04-26 | 1 | -1/+1 | |
| | ||||||
* | Use pipe symbol to join static and dynamic contexts | Ned Batchelder | 2019-04-26 | 1 | -1/+1 | |
| | ||||||
* | More docs about dynamic contexts | Ned Batchelder | 2019-04-21 | 1 | -13/+25 | |
| | ||||||
* | This method should be a function in context.py | Ned Batchelder | 2019-04-21 | 2 | -34/+36 | |
| | ||||||
* | Don't name new method the same as old attribute | Ned Batchelder | 2019-04-20 | 3 | -3/+3 | |
| | ||||||
* | Plugin support for dynamic context (#783) | Justas Sadzevičius | 2019-04-20 | 3 | -2/+78 | |
| | | | | | | | | | | | | * Introduce a new plugin type: dynamic context labels. * Test dynamic context plugins * Helper method to get full paths to measured files * Get correct filenames on all OS * Improve wording | |||||
* | Fix #708: .filename is private, and don't combine over ourselves | Ned Batchelder | 2019-04-15 | 3 | -15/+29 | |
| | ||||||
* | Add a set_env.py line for COVERAGE_DEBUG | Ned Batchelder | 2019-04-15 | 1 | -0/+1 | |
| | ||||||
* | Oops, clean up some unused listcomps | Ned Batchelder | 2019-04-09 | 1 | -7/+6 | |
| | ||||||
* | A little clean-up from pr #760 | Ned Batchelder | 2019-04-09 | 2 | -9/+8 | |
| | ||||||
* | Merge pull request #723 from blueyed/fix-702 | Ned Batchelder | 2019-04-08 | 1 | -2/+2 | |
|\ | | | | | CoverageSqliteData._file_id: use "insert or replace" | |||||
| * | CoverageSqliteData._file_id: fall back to SELECT | Daniel Hahler | 2019-03-31 | 1 | -2/+2 | |
| | | | | | | | | Fixes https://github.com/nedbat/coveragepy/issues/702 | |||||
* | | Merge pull request #760 from Shoobx/fix-coverage-with-threads | Ned Batchelder | 2019-04-08 | 1 | -17/+25 | |
|\ \ | | | | | | | Ensure sqldata thread safety. | |||||
| * | | Make thread code Py2 compatible. | Stephan Richter | 2019-01-26 | 1 | -8/+14 | |
| | | | ||||||
| * | | Use one conenction per thread to avoid tricky race conditions. (The ref ↵ | Stephan Richter | 2019-01-25 | 1 | -17/+19 | |
| | | | | | | | | | | | | counter is simply not good enough.) | |||||
* | | | Fix formatting, and credit Stephan | Ned Batchelder | 2019-04-07 | 1 | -31/+37 | |
| | | | ||||||
* | | | Merge pull request #765 from Shoobx/fast-sqldata-update | Ned Batchelder | 2019-04-07 | 1 | -45/+122 | |
|\ \ \ | | | | | | | | | Fast CoverageSqliteData Update/Combine | |||||
| * | | | Some cleanup (left from first versions) and localized file path lookup which ↵ | Stephan Richter | 2019-01-27 | 1 | -18/+11 | |
| | | | | | | | | | | | | | | | | takes off another 20%. | |||||
| * | | | Use efficient database queries to combine data. This algorithm is 25-30x ↵ | Stephan Richter | 2019-01-26 | 1 | -45/+129 | |
| |/ / | | | | | | | | | | | | | | | | faster than the original one. Given that context-included coverage has about 50x the data of the old format (on our code base), this means that combining is now only 2-3x slower than before. | |||||
* | | | Remove a copy of a private macro, and just use it | Ned Batchelder | 2019-04-07 | 2 | -9/+1 | |
| |/ |/| | ||||||
* | | Move more PYVERSION to be PYBEHAVIOR | Ned Batchelder | 2019-03-24 | 3 | -6/+29 | |
| | | ||||||
* | | Move some version conditionals to PYBEHAVIOR | Ned Batchelder | 2019-03-24 | 2 | -2/+8 | |
| | | ||||||
* | | Rewrite XML tests to use xml parsing instead of regexes | Ned Batchelder | 2019-03-23 | 1 | -13/+0 | |
| | | ||||||
* | | Remove executable bit from static assets | Jon Dufresne | 2019-03-03 | 2 | -0/+0 | |
| | | | | | | | | | | These files are simply static assets and do not require an executable bit. They are never intended to be executed as standalone scripts. | |||||
* | | Make sure that arcs() and lines() only returns distinct line combination ↵ | Stephan Richter | 2019-02-17 | 1 | -2/+2 | |
| | | | | | | | | values and not one entry for each context. | |||||
* | | Make sure that the cache is properly filled. (25x speedup on our system that ↵ | Stephan Richter | 2019-01-28 | 1 | -2/+3 | |
|/ | | | | | | has a large sys.path.) It is always a bad idea to reassign the cachekey during the computation. |