This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/
The package consists of the following files and folders:
Combinatorial Software Test Tools high level file and folder
The folder "source" keep the executable C++ sources files and it is not useful for the end user of the tools.
The folder "workspaceCB" keep workspace files used by the OpenSource C/C++ IDE called "Code::Blocks" (http://www.codeblocks.org/ ) used during tools’ development; this folder is not interesting to the end user of the tools too. Obviously, you can use any C/C++ development environment if you have the interest to develop/modify tools.
The file "copy_exe.bat" is a simple executable deploy utility, which copies the executables from the source folder source\<utility name>\bin\Release of each tool in the \product\bin folder. Even in this file is not of interest for the end user of the tools.
The content of “product” folder is as follows:
Combinatorial Software Test Tools “product” folder
The content of “bin” folder is as follows:
Combinatorial Software Test Tools “bin” folder
This folder contains the second level utility that will be described in detail in the following sections.
The installation procedure is reduced to the following two simple steps:
- Copy the contents of the "product" folder under the file system of the machine. We will assume in the following that the folder has been copied under C:\CSTT\product.
- Add the following paths to system and/or user PATH variable, according with your user grant: C:\CSTT\product and C:\CSTT\product\bin
In Windows, you can perform the operation from: Control Panel -> System -> Advanced Settings, press the "Environment Variables" button and then set the PATH system or user variable, according to the grant available. However, refer to the configuration manual of your Windows operating system just in case.
There are no special constraints if you choose to install the tools in a folder whose name contains spaces, such as “C:\My Documents\Combinatorial Test Tools”.
The configuration procedure requires editing the file named "config.bat" in the folder "product." The file contents’ follows (ignoring the header comments):
REM Project's name
set "PROJECT=###### <PROJECT NAME> ######"
REM Working directory (must end with \)
REM Input file (must be present in the working directory)
REM Separator **MUST BE EQUAL** to the separator used in the
REM input file to separate fields
Set the following fields:
- PROJECT field: enter the name of the project you will work on. It 'a simple mnemonic string and is useful as a reminder on what project you are working; enter any value in it.
- APP_PATH field: enter a valid file system folder. On that folder all the data generated by tools you are going to use will be saved in this folder. The folder must end with the character "\" (slash).
- <NOME VAR_1 DI 1 CARATTERE>:VAL1_1<SEP>VAL1_2<SEP>VAL1_3<SEP>…<SEP>VAL1_N
- <NOME VAR_2 DI 1 CARATTERE>:VAL2_1<SEP>VAL2_2<SEP>VAL3<SEP>…<SEP>VAL2_K
- <NOME VAR_P DI 1 CARATTERE>:VALP_1<SEP>VALP_2<SEP>VALP<SEP>…<SEP>VALP_T
- INPUT_FILE_NAME field: enter the name of a valid text file, containing variables and their values in the following format:
- <NAME VAR_1 DI 1 CHR>:VAL1_1<SEP>VAL1_2<SEP>VAL1_3<SEP>…<SEP>VAL1_N
- <NAME VAR_2 DI 1 CHR>:VAL2_1<SEP>VAL2_2<SEP>VAL3<SEP>…<SEP>VAL2_K
- <NAME VAR_P DI 1 CHR>:VALP_1<SEP>VALP_2<SEP>VALP<SEP>…<SEP>VALP_T
- SEP field: the separator must be the same used in the input file (variable INPUT_FILE_NAME. The separator cannot be equal to ":" (colon) or "*" (asterisk), that are reserved chars.
Variable names in the input file must be a single character; the best thing is to use the letters of the alphabet (upper or lower case and the numbers from 0 to 9).
An example of valid input file is the following:
In this example, the names of the variables (A, B and C) are separated from the list of values of the same from the character ":" (colon). The values of the separator is "," (comma) and must coincide with the variable set to the SEP file "config.bat".
Copyright (©) 2014 - Berta Danilo