Differences between revisions 1 and 2
Revision 1 as of 2007-03-15 20:28:04
Size: 1001
Editor: BrettCannon
Comment:
Revision 2 as of 2008-03-19 18:41:58
Size: 1091
Editor: 201-11-161-146
Comment: Add networking tests
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:


 * Create effective and stable tests for server/client bits of the standard library.
  • 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).

  • 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.