summaryrefslogtreecommitdiff
path: root/Lib/test/README
Commit message (Collapse)AuthorAgeFilesLines
* Flesh out test_support docs.Brett Cannon2003-04-301-3/+19
|
* Fix typos.Walter Dörwald2003-02-031-2/+2
|
* SF #641170, reST version of Lib/test/READMENeal Norwitz2002-11-271-89/+99
| | | | Convert test/README to reST
* Document that docstrings are verboten for test functions.Guido van Rossum2002-08-221-6/+34
| | | | | Expand the example to show some actual test functions, and a setUp() and tearDown() method.
* A few updates about how/where to import test_support from.Barry Warsaw2002-07-231-4/+5
|
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-26/+12
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Rewrote the PyUnit description so that it now recommends to useBarry Warsaw2002-04-231-6/+16
| | | | | run_suite() instead of run_unittest(). Best practice is to plan for multiple test classes.
* Reflect recent refinements of the regression testing framework.Fred Drake2001-09-281-9/+33
|
* Repair late-night doc typos.Tim Peters2001-09-101-1/+1
|
* Teach regrtest how to pass on doctest failure msgs. This is done via aTim Peters2001-09-091-5/+23
| | | | | | | | | | | horridly inefficient hack in regrtest's Compare class, but it's about as clean as can be: regrtest has to set up the Compare instance before importing a test module, and by the time the module *is* imported it's too late to change that decision. The good news is that the more tests we convert to unittest and doctest, the less the inefficiency here matters. Even now there are few tests with large expected-output files (the new cost here is a Python-level call per .write() when there's an expected- output file).
* When Tim untabified this file, his editor accidentally assumed 4-spaceGuido van Rossum2001-05-231-4/+4
| | | | | tabs. The title was centered using 8-byte tabs, however, and the result looked strange. Fixed this.
* Remove test_doctest's expected-output file.Tim Peters2001-05-231-27/+97
| | | | | | Change test_doctest and test_difflib to pass regrtest's notion of verbosity on to doctest. Add explanation for a dozen "new" things to test/README.
* Update to reflect recent changes to regrtest and the new approaches toFred Drake2001-05-231-7/+55
| | | | testing using doctest and PyUnit.
* Added note saying to use test_support.TESTFN for a temporary filename,Fred Drake2000-10-231-0/+5
| | | | and be clear that you need to clean it up when done.
* Rehabilitate autotest.py.Tim Peters2000-08-231-0/+36
| | | | | In README: Write up (Guido's) rules for intra-test imports; warn against asserts; document test_support.use_large_resources.
* Add TestSkipped as another interesting item defined by test_support.Fred Drake2000-08-211-0/+4
|
* Raise 'TestSkipped' (from the test_support) module rather than 'ImportError'Thomas Wouters2000-08-041-1/+2
| | | | | to signify a test that should be marked as 'skipped' rather than 'failed'. Also 'document' it, in README.
* restructured a bit and added some more content...Skip Montanaro2000-07-191-53/+142
|
* Describe a bit about writing test cases for Python...Skip Montanaro2000-06-301-0/+77