Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #7031: Add TestCase.assertIsInstance and negated method. | Georg Brandl | 2009-10-01 | 1 | -0/+16 |
| | |||||
* | Documentation improvement for load_tests protocol in unittest. Issue 6515. | Michael Foord | 2009-09-27 | 1 | -0/+5 |
| | |||||
* | Remove an extraneous space in unittest documentation. | Michael Foord | 2009-09-13 | 1 | -1/+1 |
| | |||||
* | Test discovery in unittest will only attempt to import modules that are ↵ | Michael Foord | 2009-09-13 | 1 | -1/+6 |
| | | | | importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568. | ||||
* | Objects that compare equal automatically pass or fail assertAlmostEqual and ↵ | Michael Foord | 2009-09-13 | 1 | -0/+6 |
| | | | | assertNotAlmostEqual tests on unittest.TestCase. Issue 6567. | ||||
* | issue 6275 | Kristján Valur Jónsson | 2009-08-27 | 1 | -0/+4 |
| | | | | Add an "exc_value" attribute to the _AssertRaisesContext context manager in the unittest package. This allows further tests on the exception that was raised after the context manager exits. | ||||
* | Fixed defaultTestCase -> defaultTestResult | Ezio Melotti | 2009-06-30 | 1 | -2/+2 |
| | |||||
* | Fix markup. | Georg Brandl | 2009-05-31 | 1 | -6/+3 |
| | |||||
* | Rewrap a few long lines. | Georg Brandl | 2009-05-30 | 1 | -35/+38 |
| | |||||
* | Move the basic examples section back to the beginning. | Raymond Hettinger | 2009-05-29 | 1 | -63/+67 |
| | |||||
* | Add test discovery to unittest. Issue 6001. | Michael Foord | 2009-05-29 | 1 | -14/+153 |
| | |||||
* | make class skipping decorators the same as skipping every test of the class | Benjamin Peterson | 2009-05-25 | 1 | -21/+5 |
| | | | | This removes ClassTestSuite and a good bit of hacks. | ||||
* | Adds a verbosity keyword argument to unittest.main plus a minor fix allowing ↵ | Michael Foord | 2009-05-11 | 1 | -3/+33 |
| | | | | | | | | | | you to specify test modules / classes from the command line. Closes issue 5995. Michael Foord | ||||
* | (no commit message) | Michael Foord | 2009-05-02 | 1 | -0/+14 |
| | |||||
* | Add addCleanup and doCleanups to unittest.TestCase. | Michael Foord | 2009-05-02 | 1 | -0/+30 |
| | | | | | | Closes issue 5679. Michael Foord | ||||
* | Adds an exit parameter to unittest.main(). If False main no longer | Michael Foord | 2009-05-02 | 1 | -2/+16 |
| | | | | | | | | calls sys.exit. Closes issue 3379. Michael Foord | ||||
* | #5848: small unittest doc patch. | Georg Brandl | 2009-04-27 | 1 | -3/+20 |
| | |||||
* | Demote warnings to notices where appropriate, following the goal that as few ↵ | Georg Brandl | 2009-04-27 | 1 | -1/+1 |
| | | | | | | "red box" warnings should clutter the docs as possible. Part 1: stuff that gets merged to Py3k. | ||||
* | #5834: use "failure" instead of "error" because the two have different ↵ | Georg Brandl | 2009-04-25 | 1 | -1/+1 |
| | | | | meanings in unittest context. | ||||
* | Typo fixes | Andrew M. Kuchling | 2009-04-09 | 1 | -6/+6 |
| | |||||
* | Adding assertIs and assertIsNot methods to unittest.TestCase | Michael Foord | 2009-04-05 | 1 | -0/+17 |
| | | | | Issue #2578 | ||||
* | Better exception messages for unittest assert methods. | Michael Foord | 2009-04-02 | 1 | -1/+19 |
| | | | | | | | | | | | | - unittest.assertNotEqual() now uses the inequality operator (!=) instead of the equality operator. - Default assertTrue and assertFalse messages are now useful. - TestCase has a longMessage attribute. This defaults to False, but if set to True useful error messages are shown in addition to explicit messages passed to assert methods. Issue #5663 | ||||
* | Issue an actual PendingDeprecationWarning for the TestCase.fail* methods. | Gregory P. Smith | 2009-03-31 | 1 | -0/+21 |
| | | | | Document the deprecation. | ||||
* | The unittest.TestCase.assertEqual() now displays the differences in lists, | Gregory P. Smith | 2009-03-31 | 1 | -21/+205 |
| | | | | | | | | | | tuples, dicts and sets on failure. Many new handy type and comparison specific assert* methods have been added that fail with error messages actually useful for debugging. Contributed in by Google and completed with help from mfoord and GvR at PyCon 2009 sprints. Discussion lives in http://bugs.python.org/issue2578. | ||||
* | fix consistency | Benjamin Peterson | 2009-03-29 | 1 | -2/+2 |
| | |||||
* | stop the versionchanged directive from hiding the docs | Benjamin Peterson | 2009-03-29 | 1 | -5/+7 |
| | |||||
* | a more realistic example | Benjamin Peterson | 2009-03-29 | 1 | -1/+15 |
| | |||||
* | rename TestCase.skip() to skipTest() because it causes annoying problems ↵ | Benjamin Peterson | 2009-03-26 | 1 | -1/+1 |
| | | | | with trial #5571 | ||||
* | Add links to related resources. | Raymond Hettinger | 2009-03-24 | 1 | -0/+6 |
| | |||||
* | forgot to document that setUp can be skipped (silly me...) | Benjamin Peterson | 2009-03-23 | 1 | -2/+5 |
| | |||||
* | refactor unittest docs | Benjamin Peterson | 2009-03-23 | 1 | -389/+413 |
| | |||||
* | comply with the evilJavaNamingScheme for attribute names | Benjamin Peterson | 2009-03-23 | 1 | -2/+2 |
| | | | | It seems my love of PEP 8 overrode the need for consistentcy | ||||
* | implement test skipping and expected failures | Benjamin Peterson | 2009-03-23 | 1 | -5/+128 |
| | | | | patch by myself #1034053 | ||||
* | Remove trailing whitespace. | Georg Brandl | 2009-01-03 | 1 | -2/+2 |
| | |||||
* | wrong version number in doc changes committed in r67979 | Antoine Pitrou | 2008-12-28 | 1 | -1/+1 |
| | |||||
* | Issue #4444: Allow assertRaises() to be used as a context handler. | Antoine Pitrou | 2008-12-28 | 1 | -2/+9 |
| | |||||
* | #3912: document default for *places* arg. | Georg Brandl | 2008-09-21 | 1 | -2/+4 |
| | |||||
* | #2757: Remove spare newline. | Georg Brandl | 2008-05-04 | 1 | -1/+0 |
| | |||||
* | #2249: document assertTrue and assertFalse. | Georg Brandl | 2008-03-09 | 1 | -0/+2 |
| | |||||
* | #1467: fix documentation for TestResult.add{Error,Failure}. | Georg Brandl | 2007-11-24 | 1 | -4/+6 |
| | |||||
* | Move the 2.6 reST doc tree in place. | Georg Brandl | 2007-08-15 | 1 | -0/+936 |