T2C Technology
T2C stands for "Template–to–Code". It is a system to facilitate development of functional tests, including the tests for conformance to specification (standard, reference, etc.).
The main goal of T2C is to automate some of the tedious and repetitive tasks involved in test development. T2C strives to allow the developer to concentrate on the logic of the tests rather than on a whole lot of minor technical details.
The key features of T2C are as follows:
- Support for development of parameterized tests, fully customizable via T2C-style templates.
- API for connecting each check in a test to the requirement that is checked there (for conformance testing) to ensure traceability of requirements.
- Integration with other testing frameworks like Glib Testing Framework and TETWare.
- Special templates to generate 'minimal' sources of the tests - for debugging, in-depth analysis of the system under test, etc.
- Support for generation of tests not only in C and C++ but also in other languages (if appropriate templates are provided).
T2C manual (available online) gives an overview of T2C, explains a typical workflow used in test development with T2C tools and presents a reference of various aspects related to T2C. It also contains a case study where the tests for several functions from GLib library are developed step by step.
The latest release of T2C v2, as well as the development versions, can be found at "Template–to–Code" project site at SourceForge.net.
During test development, T2C can be used both standalone and in conjunction with requirement management tools. А tool of this kind, "Requality", is developed by ISPRAS and is available here. See the case study in the T2C manual for the instructions on how to use requirements management tools with T2C.