summaryrefslogtreecommitdiff
path: root/Doc/library/unittest.rst
Commit message (Collapse)AuthorAgeFilesLines
* Issue #29274: tests cases ? test casesMartin Panter2017-01-181-4/+4
|
* Fix grammar, typos and markup in documentation and code commentsMartin Panter2017-01-141-5/+5
| | | | | | * Indent versionchanged at method level, not class level * Mark up ``--help`` to avoid generating an en dash * Use forward slash in Unix command line with a dollar sign ($) prompt
* Issue #26638: Work around more CLI options that can?t be linkedMartin Panter2016-10-301-2/+4
| | | | | | * Cannot seem to link directly to main options from the ?unittest? module, because that module has its own set of options * Mask out linking for options that no longer exist in Python 3
* Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-2/+2
|
* Issue #26869: Document unittest.TestCase.longMessage. (Mariatta)Guido van Rossum2016-10-131-13/+11
|
* Fix typoZachary Ware2016-08-301-1/+1
|
* Issue #18548: Fix unittest.TestSuite() exampleBerker Peksag2016-08-061-2/+2
| | | | Initial patch by py.user.
* Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-0/+5
| | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-101-13/+13
| | | | Original patch by James Edwards.
* Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-071-1/+1
|
* #25687: clarify that errors in tearDown increase the total number of ↵Ezio Melotti2016-03-131-4/+6
| | | | reported errors. Initial patch by HyeSoo Park.
* #19006: fix wording in unittest docs.Ezio Melotti2016-01-121-3/+4
|
* merge 3.4 (#26046)Benjamin Peterson2016-01-071-34/+82
|\
| * Issue #25523: Merge a-to-an corrections from 3.4.Serhiy Storchaka2015-11-021-34/+82
| |\
| | * Marked keystrokes with the :kbd: role.Serhiy Storchaka2015-09-121-34/+82
| | |\ | | | | | | | | | | | | Fixed the case of the "Ctrl-" prefixes.
| | | * Issue #22812: Fix unittest discovery examples.Robert Collins2015-08-241-34/+82
| | | |\ | | | | | | | | | | | | | | | Patch from Pam McA'Nulty.
| | | | * Issue #22153: Improve unittest docs. Patch from Martin Panter and evilzero.Robert Collins2015-07-231-34/+82
| | | | |\
| | | | | * Merge: #24584: replace dead link with pointer to archive.org.R David Murray2015-07-041-1/+1
| | | | | |\
| | | | | * \ #11468: merge with 3.4.Ezio Melotti2015-03-241-37/+28
| | | | | |\ \
| | | | | * | | Issue #22936: Allow showing local variables in unittest errors.Robert Collins2015-03-061-6/+19
| | | | | | | |
| | | | | * | | Issue #23125: Update nose project page link.Berker Peksag2014-12-281-1/+1
| | | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by Damien Mari?.
| | | | | * | | | Close #22457: Honour load_tests in the start_dir of discovery.Robert Collins2014-11-051-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were not honouring load_tests in a package/__init__.py when that was the start_dir parameter, though we do when it is a child package. The fix required a little care since it introduces the possibility of infinite recursion.
| | | | | * | | | Close #7559: ImportError when loading a test now shown as ImportError.Robert Collins2014-10-301-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the ImportError was only shown if the top level containing package failed to import, with other ImportErrors showing up as AttributeError - hiding the real cause. As part of this, `TestLoader.loadTestsFromNames` now captures errors to self.errors.
| | | | | * | | | merge with 3.4Georg Brandl2014-10-291-1/+1
| | | | | |\ \ \ \
| | | | | * \ \ \ \ Merge with 3.4Georg Brandl2014-10-291-28/+53
| | | | | |\ \ \ \ \
| | | | | | * | | | | Close #19746: expose unittest discovery errors on TestLoader.errorsRobert Collins2014-10-201-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it possible to examine the errors from unittest discovery without executing the test suite - important when the test suite may be very large, or when enumerating the test ids from a test suite.
| | | | | | * | | | | - Issue #16662: load_tests() is now unconditionally run when it is present inBarry Warsaw2014-09-081-28/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a package's __init__.py. TestLoader.loadTestsFromModule() still accepts use_load_tests, but it is deprecated and ignored. A new keyword-only attribute `pattern` is added and documented. Patch given by Robert Collins, tweaked by Barry Warsaw.
* | | | | | | | | | | fix typo in unittest docs (closes #26046)Benjamin Peterson2016-01-071-1/+1
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch from Upendra Kumar.
* | | | | | | | | | Issue #25523: Further a-to-an corrections.Serhiy Storchaka2015-11-021-1/+1
|/ / / / / / / / /
* | | | | | | | | Marked keystrokes with the :kbd: role.Serhiy Storchaka2015-09-121-2/+2
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Fixed the case of the "Ctrl-" prefixes.
* | | | | | | | Issue #22812: Fix unittest discovery examples.Robert Collins2015-08-241-2/+2
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | Patch from Pam McA'Nulty.
* | | | | | | Issue #22153: Improve unittest docs. Patch from Martin Panter and evilzero.Robert Collins2015-07-231-4/+8
| |_|_|_|_|/ |/| | | | |
* | | | | | #24584: replace dead link with pointer to archive.org.R David Murray2015-07-041-1/+1
| |_|_|_|/ |/| | | |
* | | | | #11468: improve unittest basic example. Initial patch by Florian Preinstorfer.Ezio Melotti2015-03-241-37/+28
| |_|_|/ |/| | |
* | | | Issue #23125: Update nose project page link.Berker Peksag2014-12-281-1/+1
| |_|/ |/| | | | | | | | Reported by Damien Mari?.
* | | Fixing broken links in doc, part 3: the restGeorg Brandl2014-10-291-1/+1
|/ /
* | Use https:// URLs when referring to python.org hosts.Georg Brandl2014-10-291-1/+1
| |
* | Closes #18729: minor markup improvement.Georg Brandl2014-10-021-1/+1
|/
* #18566: WhitespaceTerry Jan Reedy2014-04-151-5/+5
|
* Issue #18566: Clarify unittest setUp, tearDown doc. Patch by Nitika Agarwal.Terry Jan Reedy2014-04-151-7/+7
|
* Issue #21170: Removed invalid parameter names from unittest doc.Terry Jan Reedy2014-04-111-2/+2
| | | | Patch by Kushal Das.
* Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-151-14/+17
|
* Python 3.4.0rc1 release: Updated pydoc topics, fixed suspicious markup errors.Larry Hastings2014-02-101-7/+7
|
* merge from 3.3Senthil Kumaran2014-02-081-11/+186
|\ | | | | | | | | Include the mention of ResourceWarning being displayed by default by the test runner. Addressing #issue 20529
| * Fixes Issue #20165: The unittest module no longer considers tests marked withGregory P. Smith2014-01-201-0/+4
| | | | | | | | @expectedFailure successful if they pass.
| * whatsnew: unittest import time SkipTest reported as skip not error.R David Murray2014-01-031-2/+3
| |
| * Merge and update #17282: Document unittest.main defaultTest argument.R David Murray2014-01-021-0/+5
| |\ | | | | | | | | | In 3.4 defaultTest can also be a list (see issue 15132).
| * | Closes issue 20031. Document unittest.TextTestRunner.run method.Michael Foord2013-12-291-0/+8
| | |
| * | Fix suspicious markup in the docs.Georg Brandl2013-11-241-2/+2
| | |
| * | Address Terry's commentsAntoine Pitrou2013-09-151-2/+5
| | |