summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Avoid useless or redundant db operations. Faster.Ned Batchelder2019-07-072-19/+6
| | | | | | Moving operations into the "with self._connect" means less opening and closing of the database. Returning early if there is no data to write avoids writing empty contexts.
* Can't run the delete-my-directory tests on WindowsNed Batchelder2019-07-061-0/+5
|
* Add tests of bug #806, and ensure it's fixed even if the program ends with ↵Ned Batchelder2019-07-061-0/+30
| | | | an exception
* HTML: Mark things to show instead of to hide.Ned Batchelder2019-07-0628-363/+346
| | | | | | | | | | Also made some other changes along the way: * Scroll bar markers change as the selected categories change. * We don't use css class 'stm' for anything, get rid of it. * Better sass use all around.
* Clean up and test filtering contexts for reportingNed Batchelder2019-07-011-3/+18
|
* Context reporting improvements and testNed Batchelder2019-06-301-5/+62
| | | | | Contexts should only be reported on lines that are marked as executed. The empty outer context is now reported as "(empty)".
* Make a Unicode character more apparent in the sourceNed Batchelder2019-06-301-2/+6
|
* TypoNed Batchelder2019-06-291-1/+1
|
* New API: Coverage.current() returns the latest started instance.Ned Batchelder2019-06-251-0/+31
|
* Don't run contract tests if contracts are disabledNed Batchelder2019-06-191-1/+6
|
* Move arcz_to_arcs to misc so we can use it elsewhereNed Batchelder2019-06-194-55/+18
|
* Remove ShiningPanda hackNed Batchelder2019-06-171-8/+0
|
* Make the incremental checker a little smarter.Ned Batchelder2019-06-171-2/+2
|
* No need to pass coverage/config separately everywhereNed Batchelder2019-06-171-22/+15
|
* Refactor text reporting to use the same code paths as other reportsNed Batchelder2019-06-161-13/+12
|
* Remove a property that has been deprecated for three yearsNed Batchelder2019-06-161-19/+0
|
* More sass goodnessNed Batchelder2019-06-131-27/+1
|
* Update the test output css files tooNed Batchelder2019-06-131-414/+158
|
* This was a copy of an existing test. We need to write some new ones.Ned Batchelder2019-06-101-20/+1
|
* Update tests to use updated APIs.Stephan Richter2019-06-103-20/+29
|
* Support for full qnames for old-style classes.Stephan Richter2019-06-101-1/+1
|
* Add some tests for new methods.Stephan Richter2019-06-102-0/+78
|
* Fix a test.Stephan Richter2019-06-101-1/+1
|
* Fix styling and tests. (The tests are slightly insane with no obvious way to ↵Stephan Richter2019-06-101-0/+43
| | | | update the expected output.)
* Make sure to report the full Python path for the test function. That way we ↵Stephan Richter2019-06-101-14/+20
| | | | can report on namespaces.
* Pass the contexts to the report command.Albertas Agejevas2019-06-101-2/+9
|
* Support for multiple, glob-based contexts in result queries.Stephan Richter2019-06-101-15/+15
|
* Refactored HTML tests dropped an assertNed Batchelder2019-06-101-0/+1
|
* Adapt to optimization tweak in CPython 3.8.0b1Ned Batchelder2019-06-051-0/+3
|
* Better tests of HTML delta generationNed Batchelder2019-05-261-41/+66
| | | | | | 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.xNed Batchelder2019-05-1310-28/+22
|
* Silence a DeprecationWarningNed Batchelder2019-05-091-0/+5
| | | | | | "DeprecationWarning: Use inspect.signature() instead of inspect.getfullargspec()" This started appearing with Python 3.8a4.
* One more line to exclude from coverage measurementNed Batchelder2019-04-301-1/+1
|
* Clean up some style in #782, switch_contextNed Batchelder2019-04-282-28/+23
|
* Fix a few capitalizationsNed Batchelder2019-04-281-2/+2
|
* Expose switch_context in coverage API (#782)Justas Sadzevičius2019-04-281-0/+111
| | | | | | | | | | | | * 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
* Suppress pylint more efficientlyNed Batchelder2019-04-261-13/+12
|
* Old-style classes can report the test_function name. #797Ned Batchelder2019-04-261-0/+18
|
* Use pipe symbol to join static and dynamic contextsNed Batchelder2019-04-262-6/+6
|
* Prefer assertRaisesRegex to assertRaisesNed Batchelder2019-04-217-25/+47
|
* Clean up test_plugins.pyNed Batchelder2019-04-211-15/+16
|
* Clean up unused variablesNed Batchelder2019-04-211-10/+7
|
* Fix some formatting, and assert should be expected,actualNed Batchelder2019-04-211-29/+43
|
* Check for skipping tests before super.setUpNed Batchelder2019-04-215-9/+9
|
* Don't name new method the same as old attributeNed Batchelder2019-04-201-2/+2
|
* Plugin support for dynamic context (#783)Justas Sadzevičius2019-04-202-1/+257
| | | | | | | | | | | | * 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 ourselvesNed Batchelder2019-04-151-2/+2
|
* Add a failing test for #708Ned Batchelder2019-04-151-0/+15
|
* A thread stress testNed Batchelder2019-04-091-0/+16
| | | | (cherry picked from commit bc948ac1a5dca4d0a305a265de157d7505e4a4b2)
* Move set_env.py to github.com/nedbat/oddsNed Batchelder2019-04-071-0/+3
|