summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Move more PYVERSION to be PYBEHAVIORNed Batchelder2019-03-242-10/+14
|
* Rewrite XML tests to use xml parsing instead of regexesNed Batchelder2019-03-234-132/+226
|
* Improvements to test_templite.py from mutmutNed Batchelder2019-03-021-4/+14
| | | | See https://nedbatchelder.com/blog/201903/mutmut.html
* Make sure that arcs() and lines() only returns distinct line combination ↵Stephan Richter2019-02-171-0/+16
| | | | values and not one entry for each context.
* Fix a test to get case right on WindowsNed Batchelder2019-01-281-1/+1
|
* Make sure that the cache is properly filled. (25x speedup on our system that ↵Stephan Richter2019-01-281-0/+13
| | | | | | has a large sys.path.) It is always a bad idea to reassign the cachekey during the computation.
* Make line numbers immune to minimum font size settings. #748Ned Batchelder2019-01-041-3/+3
|
* Fix an incorrectly named methodNed Batchelder2018-12-261-4/+4
|
* Simplify format_lines a littleNed Batchelder2018-12-261-1/+1
|
* Sort the text missing results by line number, not kindNed Batchelder2018-12-253-6/+30
|
* Move code to where it belongsNed Batchelder2018-12-242-15/+15
|
* Asserts should be expected,actualNed Batchelder2018-12-246-11/+11
|
* Tweaks to the fail_under limitingNed Batchelder2018-12-241-1/+2
|
* Disallow impossible values for fail_underMike Fiedler2018-12-231-0/+5
| | | | | | | | | Since there's no way were likely to achieve greater than 100% code coverage, disallow usage of any value above 100. Resolves #743 Signed-off-by: Mike Fiedler <miketheman@gmail.com>
* Suppress another warningNed Batchelder2018-12-231-0/+1
|
* There are no kwargs to CoverageScript any moreNed Batchelder2018-11-261-4/+2
|
* Use a function instead of a method to show helpNed Batchelder2018-11-261-10/+9
|
* Test that we have the right Python versions in the classifiersNed Batchelder2018-11-251-0/+2
|
* Control the sys.path that tests seeNed Batchelder2018-11-252-0/+41
|
* Remove incorrect commentNed Batchelder2018-11-251-1/+0
|
* Comparisons should be expected/actualNed Batchelder2018-11-251-3/+3
|
* PyRunner knows how to run Python files.Ned Batchelder2018-11-258-56/+103
| | | | Adjust sys.path to better emulate Python, but only if we should.
* Use implicit mock patching instead of explicit DI for cmdline testsNed Batchelder2018-11-251-280/+288
| | | | | This sets us up for mocking more or different globals without adding more explicit DI overrides in cmdline.py.
* A test of the #678 caseNed Batchelder2018-11-251-0/+33
|
* Travis pulls in other libraries somehow. Exclude themNed Batchelder2018-11-181-2/+2
|
* Lint cleanupNed Batchelder2018-11-182-3/+4
|
* Rename farm to gold, since that's what it isNed Batchelder2018-11-1858-22/+22
|
* Remove test_farm.pyNed Batchelder2018-11-182-387/+154
|
* Convert farm/run_chdir.py to a test_summary.py testNed Batchelder2018-11-184-22/+14
|
* Convert farm/run/run_xxx.py to a test_summary.py testNed Batchelder2018-11-183-26/+16
|
* Convert farm/run/run_timid.py to a test_process testNed Batchelder2018-11-183-69/+59
|
* Delete the annotate farm testsNed Batchelder2018-11-1511-105/+0
|
* Remove needless noticesNed Batchelder2018-11-159-39/+0
|
* Convert annotate() farm tests to normal testsNed Batchelder2018-11-151-0/+121
|
* Simplify the way we run coverage in these testsNed Batchelder2018-11-152-60/+17
|