The Open Group has developed a graphical user interface (GUI) for TETware.
The TETware GUI makes it easier to configure and execute tests, especially for casual users, and reduces the amount of typing required (and therefore opportunity for error). It may display all of the options available to the user at any stage and will restrict choices so that mutually-exclusive options cannot be selected.
The TETware GUI has been designed and built to make the use of the TETware test case controller (tcc) easier. It is not designed to replace tcc or to act as a method of managing Test Cases. Rather it is designed to augment tcc and provide functionality not available at the command line.
The TETware GUI uses tcc to perform the actual execution of a Test Run, as a collection of Test Cases. It takes the values that are input into The TETware GUI and builds the command line necessary to execute the chosen tests. Experienced users still have the option to use TETware via the command-line interface.
The Test Run Concept
The whole purpose of the TETware GUI is to make the use of tcc, and hence testing, easier, quicker, and more repeatable.
To facilitate this the TETware GUI introduces the concept of a Test Run; this is a logical and conceptual unit that encompasses all the necessary data needed to ensure that a suite of Test Cases can be executed successfully using tcc.
A Test Run contains a number of elements, some mandatory and others optional, that when combined enable the user to focus on the purpose behind the tests rather than getting the tests to execute.
The Test Run contains configuration data for both local and optionally remote machines involved in testing, and it contains the Scenario file that will be used to manipulate the tests. It also contains information relating to the operation of tcc including the advanced features that tcc offers. Because the Test Run is a logical unit, it can be saved as one unit, meaning that all the data relating to a given execution of tests is saved as a whole. This means that the user no longer has to worry about the management of configuration files and environment variables.
Benefits of the TETware GUI
The TETware GUI allows both new and experienced users to maximize the capabilities that tcc has to offer, by hiding the command line away from the user. This allows users to concentrate on the reason that they are using tcc; to build and execute Test Cases. The TETware GUI supports tcc advanced functionality in such a way that the user need not be concerned about it unless they need to make use of it. Users do not need to be concerned with functions that are not applicable to a specific Test Run. This is especially useful to new TETware users who may otherwise find the sophistication of the product intimidating.
Support for Existing Users
The TETware GUI enables configuration files to be imported. This means that existing TETware users, who may have an extensive library of configuration files, can import those configuration variables into a Test Run.
The TETware GUI allows Test Runs to be repeated quickly and easily - literally at the click of a button. Test Runs can be saved to a single file and reloaded into The TETware GUI. Users can repeat a Test Run that may have been first executed some time ago, without having to keep detailed records of what the configuration was, or which scenario was used.
The TETware GUI enables the user to concentrate on Test Run execution rather than having to remember where each configuration variable should be placed, in which configuration file, and where that configuration file should be placed in the file system.
The TETware GUI also knows which configuration variables are absolutely necessary to a Test Run's execution, so by the time that tcc is invoked it can be virtually guaranteed that it will be invoked correctly.
Each Test Run execution exists within its own environment. The TETware GUI removes the need to set up environment variables, which on Windows can require a restart before the Test Run can be executed. This leads to the user being able to modify the environment on a per Test Run basis, resulting in faster Test Run development, faster execution times, and fewer set-up problems.
Multiple Test Run Management
The TETware GUI enables the user to manage multiple Test Runs at once. This means that a number of Test Runs can be created and defined and managed in the TETware GUI at the same time.
It is possible to set the configuration for a given Test Run as the default. Then another Test Run can have its configuration set to use those defaults. This saves tedious typing and prevents errors.
Multiple Scenario Selection
The TETware GUI enables the user to select multiple scenarios from a scenario file and allows those scenarios to be executed by tcc. When a user has a number of scenarios that they wish to execute, they will not have to write another scenario that would invoke each one.
Scenario File Creation
A simple scenario file can be generated automatically by choosing the files to be included using a File Parser.
The TETware GUI enables users to write Journal files directly to either a text or html report using the TETware Report Writer. The GUI enables the report writer options to be easily selected. Users also have the flexibility to specify an alternative report writer and an output file that their report should be written to.
TETware GUI users can pass Journal File parameters to any SQL compliant database. Once the data is stored in the database comparative reports or reports containing data from other sources may be generated.
Support for Distributed Testing
The TETware GUI enables users to define Remote Systems that will be involved in the Test Run; the user is able to set the configuration for that Remote System, and copy that configuration to another system. The TETware GUI will then write those configuration values to the correct configuration file on the local system.
The TETware GUI provides explanatory text for all the configuration values used when using tcc to give the user even more control over the configuration of Test Runs.
The Help Feature also allows users to develop their own help pages within the Help framework. This is designed to be used to record supplementary information relating to the management of test runs.
Wizards are provided to enable users to walk step-by-step through the set-up of a Test Run (Basic and Advanced Set-up) or a Remote System that otherwise requires them to access several different tabs within the GUI.
The TETware GUI is written purely in Java 2 using the full capabilities of the Swing APIs developed by Sun Microsystems. It has only two non-Java components that are used for the execution of tcc on either a UNIX or Windows based platform. For support customers the TETware GUI is provided as bytecode. Source code is available on request under a separate agreement.