Changes between Version 5 and Version 7 of Ticket #6343


Ignore:
Timestamp:
06/27/09 21:29:42 (10 years ago)
Author:
nthiery
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6343 – Description

    v5 v7  
    11This patch implements TestSuite(object).run()  which runs
    22systematic checks on the object. Here is a typical call:
    3 
     3{{{
    44     sage: TestSuite(ZZ).run(verbose = True)
    55     running ._test_an_element() ... done
     
    77     running ._test_not_implemented_methods() ... done
    88     running ._test_pickling() ... done
    9 
     9}}}
    1010In practice, TestSuite(o).run() runs all the methods named _test_* of the object o.
    1111The _test_* methods are typically implemented by abstract super classes