commands/testexecute/testexecute.cif
author Tom Sutcliffe <thomas.sutcliffe@accenture.com>
Fri, 06 Aug 2010 17:00:19 +0100
changeset 26 5d370dafea69
parent 11 8a3293f6c06f
permissions -rw-r--r--
Fixed scope issue in localdrive, added --noexpand option to rm.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     1
# testexecute.cif
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     2
# 
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     3
# Copyright (c) 2010 Accenture. All rights reserved.
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     4
# This component and the accompanying materials are made available
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     5
# under the terms of the "Eclipse Public License v1.0"
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     6
# which accompanies this distribution, and is available
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     8
# 
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
     9
# Initial Contributors:
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    10
# Accenture - Initial contribution
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    11
#
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    12
==name testexecute
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    13
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    14
==short-description
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    15
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    16
Fshell wrapper for testexecute.exe.
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    17
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    18
==long-description
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    19
11
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents: 5
diff changeset
    20
An fshell exe that wraps up a Test Execute script run and redirects its log output to the fshell console.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents: 5
diff changeset
    21
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents: 5
diff changeset
    22
Important note: Older versions of Test Execute do not support the C<-tci> and C<-txi> options. Therefore, C<--include> and C<--exclude> may have no effect.
5
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    23
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    24
==option bool d debug
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    25
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    26
Used to put the system into debug mode. This means that the C<PAUSE> command pauses the script engine until the user hits a key.
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    27
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    28
==option string i include
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    29
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    30
(testexecute.exe's equivalent option is called C<-tci>. For compatability this is also allowed here.)
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    31
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    32
Used to specify the test cases to be included during execution. The option is followed by a list of test case IDs to be included or excluded. You can specify the test case IDs in three different ways as follows:
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    33
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    34
=over 5
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    35
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    36
=item *
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    37
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    38
A list of comma-separated test case IDs 
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    39
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    40
=item *
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    41
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    42
A range of test case IDs 
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    43
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    44
=item *
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    45
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    46
A .tcs file containing the test case IDs delimited by a new-line character. 
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    47
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    48
=back
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    49
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    50
You can specify the test case IDs using all the three different ways listed above. For example, in the following testexecute command, the test cases list is a combination of comma-separated test case IDs, test case ID range and a .tcs file containing IDs of the test cases to be included during execution: 
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    51
11
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents: 5
diff changeset
    52
    c:\>testexecute c:\tefintegrationtest\TEFIntegrationTest-regular.script -tci TEST-001,TEST-002,TEST-008:TEST-015,some.tcs
5
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    53
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    54
==option bool t ignore
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    55
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    56
For compatibility with testeexecute.exe, so you can specify includes with C<-tci>, which is a syntax fshell doesn't normally accept. Has no effect.
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    57
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    58
==option bool c ignore2
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    59
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    60
For compatibility with testeexecute.exe, so you can specify includes with C<-tci>, which is a syntax fshell doesn't normally accept. Has no effect.
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    61
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    62
==option string x exclude
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    63
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    64
Used to specify the test cases to be excluded during execution. Takes same syntax as C<--include>.
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    65
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    66
==argument filename script-file optional
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    67
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    68
The TEF script to execute. If not specified, the command replaces the TEF log server and waits forever for any logs to be written, and prints them to the console when they occur.
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    69
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    70
==copyright
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    71
9c58252c6740 Added fshell testexecute wrapper command. Fixed some uids.
Tom Sutcliffe <thomas.sutcliffe@accenture.com>
parents:
diff changeset
    72
Copyright (c) 2010 Accenture. All rights reserved.