Table of Contents

Module: Regression py4cs/Regression.py

Regression module:

Module for automating regression tests.

class TestRun - utilities for easy set up of regression tests class TestRunNumerics - extensions of TestRun for numerical computing class Verify - search for test scripts, run them, compare new results with reference results class VerifyDiffpack - tailored Verify for Diffpack (incl. compilation) class FloatDiff - visual diff between files with real numbers

Imported modules   
import Pmw
import Tkinter
import os
import re
import stat
import string
import sys
import time
from types import *
Functions   
defaultfilter
exactfilter
walk
  defaultfilter 
defaultfilter ( r )

  exactfilter 
exactfilter ( r )

  walk 
walk (
        top,
        func,
        arg,
        )

Simple copy of os.path.walk, but does not break when a file marked for visit is deleted during the process.

Classes   

FloatDiff

TestRun

Utility for writing individual regression tests.

TestRunNumerics

Extends class TestRun with an additional logfile for

Verify

Automates regression tests by running through a directory

VerifyDiffpack

Extend class Verify with compilation of Diffpack applications,


Table of Contents

This document was automatically generated on Sun Mar 14 15:31:01 2004 by HappyDoc version 2.1