Home Corporate Contacts TETware Knowledgebase |
||
ProductsSolutionsInformationDatasheetDocumentationFAQKnowledgebase |
Return to Knowledgebase Index32. How to run test cases in a clean environment
Question We want to be able to run test cases without being influenced by the
environment that is in effect when
Answer You can use a shellscript exec tool to execute the test case in a pristine environment. The tool must take care not to remove TETware communication variables from the environment, otherwise the TCM/API will be unable to function correctly. For example:
When a process is executed by the env(1)
command with the
-
option,
it is necessary to pass all the required environment variables
explicitly on the command line.
Other variables which are inherited by the exec tool from
tcc
and/or
tccd
are not made available to the test case.
The
On some systems you may need to add other variables to the list.
For example:
See also
|
|