Fred Drake
b2ad1c8b4d
Reflect recent refinements of the regression testing framework.
2001-09-28 20:05:25 +00:00
Tim Peters
bea3fb83a7
Repair late-night doc typos.
2001-09-10 01:39:21 +00:00
Tim Peters
a0a6222509
Teach regrtest how to pass on doctest failure msgs. This is done via a
...
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).
2001-09-09 06:12:01 +00:00
Guido van Rossum
54a069f271
When Tim untabified this file, his editor accidentally assumed 4-space
...
tabs. The title was centered using 8-byte tabs, however, and the
result looked strange. Fixed this.
2001-05-23 13:24:30 +00:00
Tim Peters
f5f6c436c6
Remove test_doctest's expected-output file.
...
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.
2001-05-23 07:46:36 +00:00
Fred Drake
a6daad2e55
Update to reflect recent changes to regrtest and the new approaches to
...
testing using doctest and PyUnit.
2001-05-23 04:57:49 +00:00
Fred Drake
44b6bd2179
Added note saying to use test_support.TESTFN for a temporary filename,
...
and be clear that you need to clean it up when done.
2000-10-23 16:37:14 +00:00
Tim Peters
a48b526745
Rehabilitate autotest.py.
...
In README: Write up (Guido's) rules for intra-test imports; warn against
asserts; document test_support.use_large_resources.
2000-08-23 05:28:45 +00:00
Fred Drake
62c53ddabe
Add TestSkipped as another interesting item defined by test_support.
2000-08-21 16:55:57 +00:00
Thomas Wouters
b9fa0a843e
Raise 'TestSkipped' (from the test_support) module rather than 'ImportError'
...
to signify a test that should be marked as 'skipped' rather than 'failed'.
Also 'document' it, in README.
2000-08-04 13:34:43 +00:00
Skip Montanaro
e9e5dcd4db
restructured a bit and added some more content...
2000-07-19 17:19:49 +00:00
Skip Montanaro
47c60ec9a0
Describe a bit about writing test cases for Python...
2000-06-30 06:08:35 +00:00