The Test Environment for VoIP Networks(TestEnv) is a framework for automated black box tests. This can be regression, sanity, product verification, and security tests. Therefore TestEnv provides a general testing structure with test suites, test groups and test cases as well as basic functionalities like logging and a protocol of the test results. The test scenarios like SIP calls or port scans are added into TestEnv as modules. A module can also be an interface to an external tool which allows to automate tests with different tools easily. Currently TestEnv modules (testenv.core.TestModule) for a number of external tools are available.

TestEnv is using a typical test structure: Every testenv.core.TestSuite contains a number of testenv.core.TestGroup consisting of different testenv.core.TestCase. The test suite is defined in XML (see testenv.core.TestEnvXmlParser). For every test case a number of test users can be defined which will be inserted into the database at runtime and can be used in the test cases. The generated accounts are deleted automatically at the end of a test case. As an alternative predefined user accounts can be used, too. This might be necessary to test live systems.

A test suite is started by a shell command. To make it a real automatic test environment after every test suite a protocol is generated which is sent with all log files created during the tests to the test administrator per email. These two features---the shell command together with the mailing of test protocols---allow automatic periodical tests e.g. defined by a cron job.

The TestEnv hierarchy:

      -----------      -------------       -------------       ------------       --------
      | TestEnv | -->  | TestSuite |  -->  | TestGroup |  -->  | TestCase |  -->  | Test |
      -----------      -------------       -------------       ------------       --------

Main features

Generated on Mon Aug 11 17:28:32 2008 for TestEnv by  doxygen 1.5.5