Ticket #14 (assigned enhancement)

Opened 1 year ago

Last modified 1 year ago

Improving testing framework

Reported by: cdavid Assigned to: cdavid (accepted)
Priority: major Milestone:
Component: learn Version:
Keywords: Cc:

Description

Right now, the basic framework for testing is in place: for each new package which needs to be tested separately, you add the following function:

def test_suite(*args):
    # XXX: this is to avoid recursive call to itself. This is an horrible hack,
    # I have no idea why infinite recursion happens otherwise.
    if len(args) > 0:
        import unittest
        return unittest.TestSuite()
    return NumpyTest().test(level = -10)

The problem is that it is a bit difficult to control which tests are executed with the current NumpyTest? class. Maybe changes have to be made in this class instead.

Change History

08/02/07 05:29:47 changed by cdavid

  • status changed from new to assigned.
  • milestone deleted.