Creating a TEFUnit Script File
A TEFUnit script file is a text file, which contains a series of commands
recognized by the TestExecute
script engine. These commands
perform test execution and other utility functions. The script file is used to
control the flow of execution of test suites and unit tests.
To execute test cases within your suite hierarchy you must specify them
using the following syntax.
To execute an individual test case:
TEFUnit.<suite name>.<test case>
To execute a suite of test cases:
<TEFUnit>.<suite name>.<sub-suite name>
or
<TEFUnit>.<suite name>.<sub-suite name>.*
NOTE: When the framework executes a test suite that contains
sub suites it will also execute those.
Example TEFUnit script:
// Execute an individual test case
RUN_TEST_STEP 100 TestServer TEFUnit.CTestSuite.TestOne c:\test.ini
// Execute a suite of test cases
RUN_TEST_STEP 100 TestServer TEFUnit.CTestSuite.CTestSubSuite c:\test.ini
RUN_TEST_STEP 100 TestServer TEFUnit.CTestSuite.CTestSubSuite.* c:\test.ini
Please refer to Creating a TEF Script File in the TEF documentation for further information on writing TEF
scripts.