Differences between revisions 2 and 3
Revision 2 as of 2008-03-19 18:41:58
Size: 1091
Editor: 201-11-161-146
Comment: Add networking tests
Revision 3 as of 2008-03-23 20:39:05
Size: 1112
Editor: adsl-ull-205-32
Comment: old test completely converted at pycon
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
 * Update all old tests to use unittest or doctest; see the [http://svn.python.org/view/python/trunk/Lib/test/output/ output] directory in svn to see what old tests still exist (minus any conversions already in Python's issue tracker).  * Update all old tests to use unittest or doctest; see the [http://svn.python.org/view/python/trunk/Lib/test/output/ output] directory in svn to see what old tests still exist (minus any conversions already in Python's issue tracker). [Done at PyCon 2008]
  • Update all old tests to use unittest or doctest; see the [http://svn.python.org/view/python/trunk/Lib/test/output/ output] directory in svn to see what old tests still exist (minus any conversions already in Python's issue tracker). [Done at PyCon 2008]

  • Develop toolchain to make testing better and more helpful to non-CPython implementations.
    • Function to specify what module is being tested. This allows ImportErrors for modules required for testing to cause the test to fail, not skip the testing.

    • Function to specify what OSs the module being tested is expected to work on.
    • Function to specify if the module being tested is "optional" (i.e., reasonable to not have built).
    • Decorators (method and class) to classify tests; OS, known failure, implementation detail or not, etc. Helpful for PyPy et. al. so they know they don't need to test something (e.g., refcount specifics).

    • Make unittest not print the docstring of a test instead of the method name when running a test.
  • Create effective and stable tests for server/client bits of the standard library.

CodingProjectIdeas/TestingImprovements (last edited 2008-11-15 14:00:56 by localhost)

Unable to edit the page? See the FrontPage for instructions.