GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Python Wiki
  • PSF Wiki
  • Jython Wiki
  • Python Wiki
  • Getting Started
  • Codingprojectideas

This view

  • Original page
  • New address

GeezerVison is showing wiki.python.org — Coding Project Ideas / Testing Improvements

View as Markdown

Coding Project Ideas / Testing Improvements¶

Legacy Wiki Page

This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.

  • Update all old tests to use unittest or doctest; see the 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.

Previous
Coding Project Ideas / Standard Library
Next
Coding Project Ideas / Web Service Stack
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.