Projects / PyTest

PyTest

PyTest is a small package that facilitates the unit testing process by aggregating PyUnit tests and making them easier to call from the command line and from within other unit tests. Typical tests are written with a 1-1 relationship with the module they test. In packages with multiple modules, it can become cumbersome to run all of the unit tests from the command line. PyTest can run all of the unit tests in a directory by locating all modules that begin with "test_". Reflection is then used to extract the TestCase class, and a suite is constructed, reflecting all test cases. It can also be used programmatically in a test_all.py.

Tags
Licenses
Implementation

Recent releases

  •  21 May 2005 06:24

    No changes have been submitted for this release.

    Screenshot

    Project Spotlight

    OpenStack4j

    A Fluent OpenStack client API for Java.

    Screenshot

    Project Spotlight

    TurnKey TWiki Appliance

    A TWiki appliance that is easy to use and lightweight.