This tool is under development and documentation will be released soon…
The GPI Test System (GTS) is a a tool provided to integrators to help their development related to GPI/DEVICE realization. The GTS has the ability to test each function exposed by the GPI layer to Agnos Framework. It consists in 2 modules:
GTS Host and
GTS Target
GTS Host
GTS Host an application providing users with a UI to manage and to run unit tests and ultimately to check the results for a particular or a set of GPI functions. GTS Host gathers the test scenarios from json files and transforms them into a serialized message format sent to the GTS Target module.
GTS Host can be used as Graphical User Interface or console application from the host environment.
GTS Target
GTS Target is a framework that runs in the target hardware and provides the capability of exercising all GPI functions separately. It can be integrated to any specific platform. Communication between GTS Target and the Host can be established over ethernet (TCP/IP) or serial communication.
Architecture
GTS Host and GTS Target consist of several components. GTS Host runs on the host environment (Windows PC) and the GTS Target runs in the target device. The communication between the host and the target arget is achieved by the component COM through TCP/IP or serial interfaces. This configuration can be set via GTS Host according to the appropriate integration within GTS Target Application.
How does it work?
User launches the GTS Host application
User loads a series of jason scripts
User manages the scripts to prepare the test sequence
User connects onto the GTS Target
If the link is up, User runs the test sequence
When the test sequence runs, GTS Host sends a series of messages to GTS Target. For a given message, The GTS Target validates the format, processses the message and calls the underlying GPI function. Ultimately, and message is returned back to the host
User gets the test sequence results for each jason script