Test Framework Application

At Trihedral, all new code being written for VTScada is created using test-driven development. For an understanding of how to design and use tests, the following Internet sites may be of use:

Tests are written before code. After the related code has been written, the Test Framework application is used to run and analyze those tests to ensure that the code works as designed. This application can be launched from the Source Debugger or from the VAM.

Tests are organized on an application-by-application basis. You may choose which application to test, and Test Framework will load an independent copy of the application and automatically discover all tests that are defined within the application.

A tree showing all tests and all modules that directly or indirectly contain tests will be generated automatically. Tests may be enabled or disabled on an individual basis, or at a tree-node level.

It is the responsibility of the VTScada programmer to write their own tests for their individual applications. Instructions are provided in the following topics.

The Framework may be used by customers for their own modules, but no technical support is provided. Please request the Test Framework package, available from the Trihedral marketing department or technical support. This zip file contains examples of the files necessary for a test.