Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 201892
Collapse All | Expand All

(-)concepts/cartifacteditor.htm (-75 / +67 lines)
Lines 2-8 Link Here
2
<html lang="en-us" xml:lang="en-us">
2
<html lang="en-us" xml:lang="en-us">
3
<!-- 
3
<!-- 
4
/**********************************************************************
4
/**********************************************************************
5
 * Copyright (c) 2006, 2007 Scapa Technologies and others.
5
 * Copyright (c) 2006, 2008 Scapa Technologies and others.
6
 * All rights reserved. This content is made available under 
6
 * All rights reserved. This content is made available under 
7
 * the terms of the Eclipse Public License v1.0
7
 * the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
8
 * which accompanies this distribution, and is available at
Lines 15-111 Link Here
15
 **********************************************************************/  
15
 **********************************************************************/  
16
 -->
16
 -->
17
17
18
19
<head>
18
<head>
20
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
19
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
21
<link rel="StyleSheet" href="../css/book.css" type="text/css" />
20
<link rel="StyleSheet" href="../css/book.css" type="text/css" />
22
21
23
<title>Artifact Editor - overview</title>
22
<title>Editing an artifact</title>
24
</head>
23
</head>
25
24
26
<body>
25
<body>
27
26
27
<h1>Editing an artifact</h1>
28
28
29
<h1>Artifact Editor - overview</h1>
29
<p>Test artifacts are edited using the Artifact editor.  The editor contains three tabs:</p> 
30
30
31
<p>
31
<h2>Overview</h2>
32
Test artifacts associate objects such as test suites and datapools; that is,
33
artifacts make an asset available to a test suite. In the Artifact Editor,
34
there are initially two main tabs: <b>Overview</b> and <b>Test Assets</b>. 
35
A third tab, <b>General Properties</b>, appears after the artifact has been associated with a JUnit test.</p>
36
37
<p><img width="469" height="347"
38
	src="../images/creatingATestDeployment_image025.png" alt="" /></p>
39
<h2>Overview Tab</h2>
40
41
<p>The <i>General Information</i> section provides the artifact's name, description, and its
42
path within the workspace.</p>
43
44
<p>The <i>Test Assets</i> section shows the test elements associated with the artifact.</p>
45
46
<p>The <i>Property Groups</i> section includes <i>General Properties</i>, and, if either 
47
of these is selected, this will instantiate an additional tab
48
named <i>General Properties</i> with content.</p>
49
50
51
<h2>Test Assets Tab</h2>
52
<p>In the Overview tab, clicking on the <b>More...</b> button, or selecting the <b>Test Assets</b> tab, results in the <i>Test Assets</i>
53
view being displayed. To add a test asset, click on the <b>Add...</b> button to bring up the Select Resource dialog. Navigate to a resource, select it, and click on <b>OK</b>.
54
The resource (in this example a TPTP JUnit test named <i>SimpleTest.testsuite<b></b></i>)
55
will be added to the Test Assets section.<b><br />
56
<img width="262" height="217"
57
	src="../images/creatingATestDeployment_image016.png" alt="" /></b></p><p>You can add or remove test assets by using the <b>Add...</b>
58
or <b>Remove</b> buttons respectively. As we have seen, invoking <b>Add...</b>&nbsp; brings up the Select Resource dialog. To
59
remove an asset, select it by clicking on it, then press the <b>Remove</b> button.</p>
60
61
<p>When there is more than one asset in the Test Assets section, their relative ordering can be modified by selecting an item within the list and
62
then pressing the <b>Up</b> or <b>Down</b> buttons to move the selected item up or down the list, respectively.</p>
63
64
<p>If we return to the Overview tab view, we see that <i>SimpleTest</i> has been added
65
 to the <b>Test Assets</b> section. Apart from the JUnit test suite, the test assets
66
should include any other resources required (for example, datapools).<br />
67
</p><h2>General Properties tab</h2>
68
<p>The CLASSPATH is added to the <i>General Properties</i> section as a 
69
consequence of the artifact being associated with a JUnit test.</p>
70
71
<p>In the <i>Overview</i> tab, either clicking on the <b>CLASSPATH </b>or the <b>More...</b> button in the <i>General Properties</i> section
72
of the Overview tab, selecting <b>General Properties</b> in the <i>Property Groups</i> section, or selecting the <b>General Properties</b> tab, all
73
result in the General Properties tab view being displayed.<br />
74
<img width="366" height="283" src="../images/creatingATestDeployment_image026.png" alt="" /></p>
75
76
<p><b>Note</b> that, while it is possible to add in further properties to the General Properties section, TPTP itself uses only  the <b>CLASSPATH</b>
77
property. It may be that other applications can make use of additional properties, so, for completeness, we describe how to add, remove and edit such
78
properties.</p>
79
80
<p>To add a new property, click on the <b>Add...</b> button. This launches the <b>New Property</b> dialog.<br />
81
<img width="436" height="126" src="../images/creatingATestDeployment_image027.png" alt="" /></p>
82
83
<p>Enter your property name in the <b>Property Name</b> field, or select it from the drop-down list.<br />
84
<img width="436" height="140" src="../images/creatingATestDeployment_image028.png" alt="" /></p>
85
86
<p>Select the <b>Operator</b> from =, !=, &gt;, &lt;, &gt;=, or &lt;= via the associated drop-down list
87
 and insert the required value in the <b>Property Value</b> field.</p>
88
89
<p>To edit an existing property, double-click on it to launch the <b>Edit
90
Property</b> dialog.<br />
91
<img width="436" height="126" src="../images/creatingATestDeployment_image029.png" alt="" /></p>
92
32
93
<p>Then change the <b>Property Name</b>, <b>Operator</b>, or <b>Property Value</b> fields as required.</p>
33
<p>This tab provides an overview of the test artifact.</p>
94
34
95
<p>To remove an existing property, select it then click on the <b>Remove</b> button.</p>
35
<p>This tab contains three sections:</p>
96
36
97
<p>
37
<ul>
98
<b>Related concepts</b><br/>
38
	<li>
99
<a href="cdeployeditor.htm">Deployment Editor - overview</a><br/>
39
		<p><b>General Information</b></p>
100
<a href="clocationeditor.htm">Location Editor - overview</a><br/>
40
		<p>Contains the test artifact's name, description, and file path within the workspace.  The test artifact's name<sup>1</sup> and description are editable.</p>
101
</p>
41
		<br/>
42
	</li>
43
	<li>
44
		<p><b>Property Groups</b></p>
45
		<p>Contains a link to the General Properties tab.  Clicking the link will open the associated tab.</p>
46
		<br/>
47
	</li>
48
	<li>
49
		<p><b>Test Assets</b></p>
50
		<p>Contains links to the test assets, such as test suites and datapools, in the Test Assets tab.  Clicking a link or the More... button will
51
		open the Test Assets tab.</p>
52
		<br/>
53
	</li>
54
	<li>
55
		<p><b>General Properties</b></p>
56
		<p>Contains links to the general properties in the General Properties tab.  Clicking a link or the More... button will
57
		open the General Properties tab.</p>
58
		<br/>
59
		<p>Note, the General Properties section will only appear if one or more general properties are associated with the test artifact.</p>
60
		<br/>
61
	</li>
62
</ul>
63
64
<p>[1] Test artifacts have a file name and logical name.  The logical name is used in the Test Navigator, dialogs, editors, and wizards to represent the test artifact.
65
The file name represents the test artifact file (<i>*.artifact</i>) within the workspace.  When the test artifact is created, the logical name defaults to the file name 
66
(excluding the <i>.artifact</i> file extension) and may be modified without modifying the file name.  The logical name allows customization of the test artifact name 
67
without affecting the file name within the workspace.</p>
68
69
<h2>Test Assets</h2>
70
71
<p>This tab contains the list of test assets, such as test suites and datapools, associated with the test artifact.</p>
72
73
<p>Test assets can be added to the list by clicking the <b>Add...</b> button and select the test assets.</p>
74
75
<p>Selected test assets can be removed (<b>Remove</b>), moved up (<b>Up</b>), or moved down (<b>Down</b>).</p>
76
77
<h2>General Properties</h2>
78
79
<p>This tab contains the table of general properties associated with the test artifact.  For example, the <i>CLASSPATH</i> general property contains local dependencies of the associated test suites.</p>
80
81
<p>When a test suite is executed, the following dependencies are deployed to the target host:</p>  
82
83
<ul>
84
	<li>Dependencies on the class path of the project containing the test suite, excluding <i>*.java</i>, <i>*.execution</i>, <i>*.testsuite</i>, <i>*.deploy</i>, <i>*.location</i>, and <i>*.artifact</i>.</li>
85
	<li>Dependencies on the <i>CLASSPATH</i> general property.</li>
86
	<li>Test assets associated with the test artifact.</li>
87
</ul>
88
89
<p>Note, the General Properties tab will only appear if one or more general properties are associated with the test artifact.</p>
90
91
<p>General properties can be added to the table by clicking the <b>Add...</b> button and entering the property name, operator (<i>=</i>, <i>!=</i>, <i>&gt;</i>, <i>&lt;</i>, <i>&gt;=</i>, or <i>&lt;=</i>), and value.</p>
92
93
<p>All file paths are absolute and operating system dependent based on the local operating system.</p>
94
95
<p>Selected general properties can be removed (<b>Remove</b>), moved up (<b>Up</b>), or moved down (<b>Down</b>).  Existing general properties may be edited by double-clicking
96
the general property in the table and and modifying the property name, operator, and/or value.</p>
102
97
103
<p>
98
<p>
104
<b>Related tasks</b><br/>
99
<b>Related tasks</b><br/>
105
<a href="../tasks/tcreateartifact.htm">Creating an artifact</a><br/>
100
<a href="../tasks/tcreateartifact.htm">Creating an artifact</a><br/>
106
<a href="../tasks/tcreatetestdeployment.htm">Creating a deployment</a><br/>
107
<a href="../tasks/tcreatelocation.htm">Creating a location</a><br/>
108
<a href="../tasks/tassociateartifact.htm">Forming an artifact and location pairing</a><br/>
109
</p>
101
</p>
110
102
111
</body>
103
</body>
(-)concepts/clocationeditor.htm (-38 / +69 lines)
Lines 2-8 Link Here
2
<html lang="en-us" xml:lang="en-us">
2
<html lang="en-us" xml:lang="en-us">
3
<!-- 
3
<!-- 
4
/**********************************************************************
4
/**********************************************************************
5
 * Copyright (c) 2006, 2007 Scapa Technologies and others.
5
 * Copyright (c) 2006, 2008 Scapa Technologies and others.
6
 * All rights reserved. This content is made available under 
6
 * All rights reserved. This content is made available under 
7
 * the terms of the Eclipse Public License v1.0
7
 * the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
8
 * which accompanies this distribution, and is available at
Lines 15-79 Link Here
15
 **********************************************************************/  
15
 **********************************************************************/  
16
 -->
16
 -->
17
17
18
19
<head>
18
<head>
20
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
19
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
21
<link rel="StyleSheet" href="../css/book.css" type="text/css" />
20
<link rel="StyleSheet" href="../css/book.css" type="text/css" />
22
21
23
<title>Location Editor - overview</title>
22
<title>Editing a location</title>
24
</head>
23
</head>
25
24
26
<body>
25
<body>
27
26
27
<h1>Editing a location</h1>
28
28
29
<h1>Location Editor - overview</h1>
29
<p>Test locations are edited using the Location editor.  The editor contains three tabs:</p> 
30
<p>
31
Test locations identify the computer where the test suite will run.
32
</p>
33
34
<p>
35
<img width="473" height="392" src="../images/creatingATestDeployment_image018.png" alt="" /></p><p>There are 3 tabs: <b>Overview</b>, <b>General
36
Properties</b>, and <b>Eclipse Workbench Properties</b>. The above screen capture shows the <i>Overview</i> tab information.</p>
37
38
<h3><a name="_Toc115944873"></a><a name="_Toc116098740"><b> Overview Tab</b></a></h3>
39
40
<p>The <i>General Information</i> section provides the location's name (<b>testLocation</b> here), Description ('A sample
41
location'), its path within the workspace (/java_01/testLocation.location), and the Host name (<b>localhost</b>).</p>
42
30
43
<p>The default host name for the location is <kbd><b>localhost</b></kbd>. If the intention is to run on another computer, enter the name of that
31
<h2>Overview</h2>
44
computer in the <b>Host name</b> field.</p>
45
32
46
<p>Property Groups references <i>General Properties </i>and<i> Eclipse Workbench Properties</i> sections, which are also separately shown on the
33
<p>This tab provides an overview of the test location.</p>
47
right-hand side of the Location editor overview tab view. Each&nbsp; references respectively the <i>General Properties</i> and<i> Eclipse Workbench
48
Properties</i> tabs. both reference the <b>General Properties</b> tab. Clicking on the <b>More...</b> button in either the <i>General
49
Properties</i> or <i>Eclipse Workbench Properties</i> sections switches to their respective tab views.</p>
50
34
51
<h3><a name="_Toc116098741"><b>Eclipse Workbench Properties</b></a></h3>
35
<p>This tab contains three sections:</p>
36
37
<ul>
38
	<li>
39
		<p><b>General Information</b></p>
40
		<p>Contains the test location's name, description, file path within the workspace, and host name or IP address.  The test location's name<sup>1</sup>, description, and host name or IP address are editable.</p>
41
		<br/>
42
		<p>The connection to the target host may be tested by clicking the <b>Test Connection</b> link<sup>2</sup>.</p>
43
		<br/>
44
	</li>
45
	<li>
46
		<p><b>Property Groups</b></p>
47
		<p>Contains a link to the General Properties and Eclipse Workbench Properties tab.  Clicking a link will open the associated tab.</p>
48
		<br/>
49
	</li>
50
	<li>
51
		<p><b>Eclipse Workbench Properties</b></p>
52
		<p>Contains links to the Eclipse Workbench properties in the Eclipse Workbench Properties tab.  Clicking a link or the More... button will
53
		open the Eclipse Workbench Properties tab.</p>
54
		<br/>
55
		<p>Note, the Eclipse Workbench Properties section will only appear if one or more Eclipse Workbench properties are associated with the test location.</p>
56
		<br/>
57
	</li>
58
	<li>
59
		<p><b>General Properties</b></p>
60
		<p>Contains links to the general properties in the General Properties tab.  Clicking a link or the More... button will
61
		open the General Properties tab.</p>
62
		<br/>
63
		<p>Note, the General Properties section will only appear if one or more general properties are associated with the test location.</p>
64
		<br/>
65
	</li>
66
</ul>
67
68
<p>[1] Test locations have a file name and logical name.  The logical name is used in the Test Navigator, dialogs, editors, and wizards to represent the test location.
69
The file name represents the test location file (<i>*.location</i>) within the workspace.  When the test location is created, the logical name defaults to the file name 
70
(excluding the <i>.location</i> file extension) and may be modified without modifying the file name.  The logical name allows customization of the test location name 
71
without affecting the file name within the workspace.</p>
72
73
<p>[2] The <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/ac/c_ac_ovr.html">Agent Controller</a> or 
74
<a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/ac/ciacintro.html">Integrated Agent Controller</a> 
75
(local host only) is required to be configured and running.</p>
76
77
<h2>General Properties</h2>
78
79
<p>This tab contains the table of general properties associated with the test location.  For example, the <i>CLASSPATH</i> general property contains 
80
dependencies on the target host.</p>
81
82
<p>In addition, the <i>ROOTDIR</i> general property contains absolute path of the directory on the target host where 
83
the dependencies configured in <a href="../concepts/cartifacteditor.htm">Artifact editor</a> are deployed when a test suite is executed.  If the 
84
<i>ROOTDIR</i> general property is not provided or invalid for the target host, the dependencies  are deployed to a temporary directory on the target host.</p>
85
86
<p>Note, the General Properties tab will only appear if one or more general properties are associated with the test location.</p>
87
88
<p>General properties can be added to the table by clicking the <b>Add...</b> button and entering the property name, operator (<i>=</i>, <i>!=</i>, <i>&gt;</i>, <i>&lt;</i>, <i>&gt;=</i>, or <i>&lt;=</i>), and value.</p>
89
90
<p>All file paths are absolute and operating system dependent based on the target operating system.</p>
91
92
<p>Selected general properties can be removed (<b>Remove</b>), moved up (<b>Up</b>), or moved down (<b>Down</b>).  Existing general properties may be edited by double-clicking
93
the general property in the table and and modifying the property name, operator, and/or value.</p>
52
94
53
<p>This is concerned with the setting of properties relating to the deployment of a TPTP JUnit Plug-in Test. It is covered in the help documentation
95
<h2>Eclipse Workbench Properties</h2>
54
describing TPTP JUnit Plug-in Test.</p>
55
96
56
<h3><a name="_Toc116098742"><b>General Properties</b></a></h3>
97
<p>This tab contains the table of Eclipse Workbench properties associated with the test location, as defined in the <a href="../../org.eclipse.pde.doc.user/guide/tools/preference_pages/target_platform.htm">Target Platform</a>.</p>  
57
98
58
<p>
99
<p>Note, the Eclipse Workbench Properties tab will only appear if one or more Eclipse Workbench properties are associated with the test location.</p>
59
The functionality available here is identical to that described for the <b>General Properties</b> tab in the Artifact Editor.
60
</p>
61
100
62
<p>
101
<p>All file paths are absolute and operating system dependent based on the target operating system.</p>
63
<b>Related concepts</b><br/>
64
<a href="cartifacteditor.htm">Artifact Editor - overview</a><br/>
65
<a href="cdeployeditor.htm">Deployment Editor - overview</a><br/>
66
</p>
67
102
68
<p>
103
<p>
69
<b>Related tasks</b><br/>
104
<b>Related tasks</b><br/>
70
<a href="../tasks/tcreateartifact.htm">Creating an artifact</a><br/>
71
<a href="../tasks/tcreatetestdeployment.htm">Creating a deployment</a><br/>
72
<a href="../tasks/tcreatelocation.htm">Creating a location</a><br/>
105
<a href="../tasks/tcreatelocation.htm">Creating a location</a><br/>
73
<a href="../tasks/tassociateartifact.htm">Forming an artifact and location pairing</a><br/>
74
</p>
106
</p>
75
107
76
77
</body>
108
</body>
78
109
79
</html>
110
</html>
(-)concepts/cdeployeditor.htm (-33 / +74 lines)
Lines 2-8 Link Here
2
<html lang="en-us" xml:lang="en-us">
2
<html lang="en-us" xml:lang="en-us">
3
<!-- 
3
<!-- 
4
/**********************************************************************
4
/**********************************************************************
5
 * Copyright (c) 2006, 2007 Scapa Technologies and others.
5
 * Copyright (c) 2006, 2008 Scapa Technologies and others.
6
 * All rights reserved. This content is made available under 
6
 * All rights reserved. This content is made available under 
7
 * the terms of the Eclipse Public License v1.0
7
 * the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
8
 * which accompanies this distribution, and is available at
Lines 15-69 Link Here
15
 **********************************************************************/  
15
 **********************************************************************/  
16
 -->
16
 -->
17
17
18
19
<head>
18
<head>
20
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
19
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
21
<link rel="StyleSheet" href="../css/book.css" type="text/css" />
20
<link rel="StyleSheet" href="../css/book.css" type="text/css" />
22
21
23
<title>Deployment Editor - overview</title>
22
<title>Editing a deployment</title>
24
</head>
23
</head>
25
24
26
<body>
25
<body>
27
26
27
<h1>Editing a deployment</h1>
28
28
29
<h1>Deployment Editor - overview</h1>
29
<p>Test deployments are edited using the Deployment editor.  The editor contains three tabs:</p> 
30
<p>
31
The Deployment editor associates test artifacts with test locations.
32
There are 2 main tabs in the editor: <b>Overview</b> and <b>Pairs</b>. 
33
</p>
34
35
<h2>Overview Tab</h2>
36
37
<p>The <i>General Information</i> section provides the deployment's name, description,
38
and its path within the workspace.</p>
39
40
<p>The <b>Artifacts</b> and <b>Locations</b> sections are subsequently 
41
associated with the deployment.</p>
42
<p><img border="1" src="../images/deploy_editor.gif" width="492"
43
	height="423" alt=""/></p>
44
	
45
<h2>Pairs Tab</h2>
46
30
47
The <i>Pairs</i> tab is used to add Artifacts and Locations and to form Artifact Location pairs. <br />
31
<h2>Overview</h2>
48
<img border="0" src="../images/creatingATestDeployment_image010.gif"
49
	width="514" height="358" alt=""/>
50
32
51
<h2>Locations</h2>
33
<p>This tab provides an overview of the test deployment.</p>
52
34
53
<p>The functionality available here is identical to that described  for the <b>General Properties</b> tab in the artifact editor.</p>
35
<p>This tab contains three sections:</p>
54
36
55
<p>
37
<ul>
56
<b>Related concepts</b><br/>
38
	<li>
57
<a href="cartifacteditor.htm">Artifact Editor - overview</a><br/>
39
		<p><b>General Information</b></p>
58
<a href="clocationeditor.htm">Location Editor - overview</a><br/>
40
		<p>Contains the test deployment's name, description, and file path within the workspace.  The test deployment's name<sup>1</sup> and description are editable.</p>
59
</p>
41
		<br/>
42
	</li>
43
	<li>
44
		<p><b>Test Artifacts</b></p>
45
		<p>Contains links to the test artifacts in the Pairs tab.  Clicking a link or the More... button will open the Pairs tab.</p>
46
		<br/>
47
	</li>
48
	<li>
49
		<p><b>Test Locations</b></p>
50
		<p>Contains links to the test locations in the Pairs tab.  Clicking a link or the More... button will open the Pairs tab.</p>
51
		<br/>
52
	</li>
53
	<li>
54
		<p><b>Test</b></p>
55
		<p>Contains the test suites associated with the test artifacts.</p>
56
		<br/>
57
	</li>
58
</ul>
59
60
<p>[1] Test deployments have a file name and logical name.  The logical name is used in the Test Navigator, dialogs, editors, and wizards to represent the test deployment.
61
The file name represents the test deployment file (<i>*.deploy</i>) within the workspace.  When the test deployment is created, the logical name defaults to the file name 
62
(excluding the <i>.deploy</i> file extension) and may be modified without modifying the file name.  The logical name allows customization of the test deployment name 
63
without affecting the file name within the workspace.</p>
64
65
<h2>Pairs</h2>
66
67
<p>This tab pairs test artifacts and test locations for executing a test suite.</p>
68
69
<p>This tab contains three sections:</p>
70
71
<ul>
72
	<li>
73
		<p><b>Artifacts</b></p>
74
		<p>Contains the test artifacts associated with the test deployment.</p>
75
		<br/>
76
		<p>Test artifacts can be added to the list by clicking the <b>Add...</b> button and selecting the test artifacts or creating a <a href="../tasks/tcreateartifact.htm">new test artifact</a>.</p>
77
		<br/>
78
		<p>Selected test artifacts can be removed (<b>Remove</b>), moved up (<b>Up</b>), moved down (<b>Down</b>), or opened in the Artifact editor (<b>Open...</b>).</p>
79
		<br/>
80
	</li>
81
	<li>
82
		<p><b>Locations</b></p>
83
		<p>Contains the test locations associated with the test deployment.</p>
84
		<br/>
85
		<p>Test locations can be added to the list by clicking the <b>Add...</b> button and selecting the test locations or creating a <a href="../tasks/tcreatelocation.htm">new test location</a>.</p>
86
		<br/>
87
		<p>Selected test locations can be removed (<b>Remove</b>), moved up (<b>Up</b>), moved down (<b>Down</b>), or opened in the Location editor (<b>Open...</b>).</p>
88
		<br/>
89
	</li>
90
	<li>
91
		<p><b>Artifact Location Pairs</b></p>
92
		<br/>
93
		<p>Contains the pairs test artifacts and test locations for executing a test suite.</p>
94
		<br/>
95
		<p>Create pairs of test artifacts and test locations by selecting a test artifact in the Artifacts list and a test location in the Locations list and clicking the down-arrow button (<img border="0"
96
	src="../images/downArrow.gif" width="16" height="16" alt="Image of down arrow."/>).</p>
97
		<br/>
98
	    <p>Selected pairs of test artifacts and test locations can be removed (<b>Remove</b>), moved up (<b>Up</b>), or moved down (<b>Down</b>).</p>
99
		<br/>
100
	</li>
101
</ul>
60
102
61
<p>
103
<p>
62
<b>Related tasks</b><br/>
104
<b>Related tasks</b><br/>
63
<a href="../tasks/tcreateartifact.htm">Creating an artifact</a><br/>
105
<a href="../tasks/tcreateartifact.htm">Creating an artifact</a><br/>
64
<a href="../tasks/tcreatetestdeployment.htm">Creating a deployment</a><br/>
65
<a href="../tasks/tcreatelocation.htm">Creating a location</a><br/>
106
<a href="../tasks/tcreatelocation.htm">Creating a location</a><br/>
66
<a href="../tasks/tassociateartifact.htm">Forming an artifact and location pairing</a><br/>
107
<a href="../tasks/tcreatetestdeployment.htm">Creating a deployment</a><br/>
67
</p>
108
</p>
68
109
69
</body>
110
</body>
(-)tasks/tcreatetestdeployment.htm (-18 / +22 lines)
Lines 2-8 Link Here
2
<html lang="en-us" xml:lang="en-us">
2
<html lang="en-us" xml:lang="en-us">
3
<!-- 
3
<!-- 
4
/**********************************************************************
4
/**********************************************************************
5
 * Copyright (c) 2006, 2007 Scapa Technologies and others.
5
 * Copyright (c) 2006, 2008 Scapa Technologies and others.
6
 * All rights reserved. This content is made available under 
6
 * All rights reserved. This content is made available under 
7
 * the terms of the Eclipse Public License v1.0
7
 * the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
8
 * which accompanies this distribution, and is available at
Lines 23-58 Link Here
23
23
24
<body>
24
<body>
25
25
26
27
<h1>Creating a deployment</h1>
26
<h1>Creating a deployment</h1>
28
<p>
29
Test deployments typically consist of a paired test artifact and test location. 
30
Through the launch configuration mechanism, 
31
TPTP interprets the pair and deploys the test artifacts on the host computer
32
specified.
33
</p>
34
27
35
Create the deployment by following these steps:
28
<p>Test deployments pair test artifacts and test locations for executing a test suite.</p>
29
30
<p>Create a test deployment:</p>
31
36
<ol>
32
<ol>
37
	<li>Right-click in the <b>Test Navigator</b> and select&nbsp; <b>New</b> &gt; <b>Test Element...</b> The New wizard opens.</li>
33
	<li>Right-click in the Test Navigator and select <b>New</b> &gt; <b>Test Element...</b>.</li>
38
	<li>Expand <b>Test Assets</b> and select <b>Deployment </b>then click on <b>Next</b> to open the <b>New Deployment </b>dialog.</li>
34
	<li>Select <b>Test Assets</b> &gt; <b>Deployment</b> and click <b>Next</b>.</li>
39
	<li>Select the parent folder and enter the deployment name, <i>testDeployment</i>. Click on <b>Next</b> and optionally enter a description
35
    <li>Provide the parent folder and the name for the test deployment and click <b>Next</b>.</li>
40
	for the deployment.</li>
36
    <li>Optionally, provide a description for the test deployment and click <b>Next</b>.</li>
41
	<li>Click on <b>Finish</b>. The  <b>Deployment editor</b> launches.</li>
37
    <li>Select or create the associated test artifacts by clicking the <b>New...</b> button and 
38
    selecting the test artifacts or creating a <a href="tcreateartifact.htm">new test artifact</a>.
39
    Selected test artifacts can be removed (<b>Remove</b>), moved up (<b>Up</b>), or moved down (<b>Down</b>).</li>
40
    <li>Click <b>Next</b>.</li>
41
    <li>Select or create the associated test locations by clicking the <b>New...</b> button and 
42
    selecting the test locations or creating a <a href="tcreatelocation.htm">new test location</a>.
43
    Selected test locations can be removed (<b>Remove</b>), moved up (<b>Up</b>), or moved down (<b>Down</b>).</li>
44
    <li>Click <b>Next</b>.</li>
45
    <li>Create pairs of test artifacts and test locations by selecting a test artifact and test location and clicking the down-arrow button (<img border="0"
46
	src="../images/downArrow.gif" width="16" height="16" alt="Image of down arrow."/>).  Selected pairs of test artifacts and test locations can be removed 
47
	(<b>Remove</b>), moved up (<b>Up</b>), or moved down (<b>Down</b>).</li>
48
    <li>Click <b>Finish</b> to create the test deployment.</li>
42
</ol>
49
</ol>
43
50
44
<p>
51
<p>
45
<b>Related concepts</b><br/>
52
<b>Related concepts</b><br/>
46
<a href="../concepts/cartifacteditor.htm">Artifact Editor - overview</a><br/>
53
<a href="../concepts/cdeployeditor.htm">Editing a deployment</a><br/>
47
<a href="../concepts/cdeployeditor.htm">Deployment Editor - overview</a><br/>
48
<a href="../concepts/clocationeditor.htm">Location Editor - overview</a><br/>
49
</p>
54
</p>
50
55
51
<p>
56
<p>
52
<b>Related tasks</b><br/>
57
<b>Related tasks</b><br/>
53
<a href="tcreateartifact.htm">Creating an artifact</a><br/>
58
<a href="tcreateartifact.htm">Creating an artifact</a><br/>
54
<a href="tcreatelocation.htm">Creating a location</a><br/>
59
<a href="tcreatelocation.htm">Creating a location</a><br/>
55
<a href="tassociateartifact.htm">Forming an artifact and location pairing</a><br/>
56
</p>
60
</p>
57
61
58
</body>
62
</body>
(-)tasks/tdeploymentintro.htm (-27 / +9 lines)
Lines 2-8 Link Here
2
<html lang="en-us" xml:lang="en-us">
2
<html lang="en-us" xml:lang="en-us">
3
<!-- 
3
<!-- 
4
/**********************************************************************
4
/**********************************************************************
5
 * Copyright (c) 2006, 2007 Scapa Technologies and others.
5
 * Copyright (c) 2006, 2008 Scapa Technologies and others.
6
 * All rights reserved. This content is made available under 
6
 * All rights reserved. This content is made available under 
7
 * the terms of the Eclipse Public License v1.0
7
 * the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
8
 * which accompanies this distribution, and is available at
Lines 26-74 Link Here
26
26
27
<h1>Creating a test deployment</h1>
27
<h1>Creating a test deployment</h1>
28
28
29
<p>This section describes how to create a deployment for your test suite. The example is set within the context of the Test perspective.
29
<p>This section describes creating and editing test artifacts, locations, and deployments for executing a test suite.</p>
30
We shall execute the following steps:</p>
31
30
32
<ul>
31
<ul>
33
	<li>
32
	<li>
34
		<a href="tcreatetestdeployment.htm">Creating a deployment</a>
35
		<p>
36
		Test deployments typically consist of a paired test artifact and test location. 
37
		Through the launch configuration mechanism, 
38
		TPTP interprets the pair and deploys the test artifacts on the host computer
39
		specified.
40
		</p>
41
		<br/>
42
	</li>
43
	<li>
44
		<a href="tcreateartifact.htm">Creating an artifact</a>
33
		<a href="tcreateartifact.htm">Creating an artifact</a>
45
		<p>
34
		<p>Test artifacts associate test assets, such as test suites and datapools, with a test deployment.</p>
46
		Test artifacts associate objects such as test suites and datapools; that is,
47
		artifacts make an asset available to a test suite.
48
		</p>
49
		<br/>
35
		<br/>
50
	</li>
36
	</li>
51
	<li>
37
	<li>
52
		<a href="tcreatelocation.htm">Creating a location</a>
38
		<a href="tcreatelocation.htm">Creating a location</a>
53
		<p>
39
		<p>Test locations associate a target host with a test deployment.</p>
54
		Test locations identify the computer where the test suite will run.
55
		</p>
56
		<br/>
40
		<br/>
57
	</li>
41
	</li>
58
	<li>
42
	<li>
59
		<a href="tassociateartifact.htm">Forming an artifact and location pairing</a>
43
		<a href="tcreatetestdeployment.htm">Creating a deployment</a>
60
		<p>
44
		<p>Test deployments pair test artifacts and test locations for executing a test suite.</p>
61
		Create the pair of test artifact and location to be used by the test deployment.
62
		</p>
63
		<br/>
45
		<br/>
64
	</li>
46
	</li>
65
</ul>
47
</ul>
66
48
67
<p>
49
<p>
68
<b>Related concepts</b><br/>
50
<b>Related concepts</b><br/>
69
<a href="../concepts/cartifacteditor.htm">Artifact Editor - overview</a><br/>
51
<a href="../concepts/cartifacteditor.htm">Editing an artifact</a><br/>
70
<a href="../concepts/cdeployeditor.htm">Deployment Editor - overview</a><br/>
52
<a href="../concepts/clocationeditor.htm">Editing a location</a><br/>
71
<a href="../concepts/clocationeditor.htm">Location Editor - overview</a><br/>
53
<a href="../concepts/cdeployeditor.htm">Editing a deployment</a><br/>
72
</p>
54
</p>
73
55
74
</body>
56
</body>
(-)tasks/trun.htm (-1 / +1 lines)
Lines 74-80 Link Here
74
74
75
<p>
75
<p>
76
<b>Related concepts</b><br/>
76
<b>Related concepts</b><br/>
77
<a href="../concepts/cdeployeditor.htm">Deployment Editor - overview</a><br/>
77
<a href="../concepts/cdeployeditor.htm">Editing a deployment</a><br/>
78
</p>
78
</p>
79
79
80
<p>
80
<p>
(-)tasks/tcreateartifact.htm (-31 / +11 lines)
Lines 2-8 Link Here
2
<html lang="en-us" xml:lang="en-us">
2
<html lang="en-us" xml:lang="en-us">
3
<!-- 
3
<!-- 
4
/**********************************************************************
4
/**********************************************************************
5
 * Copyright (c) 2006, 2007 IBM Corporation.
5
 * Copyright (c) 2006, 2008 IBM Corporation.
6
 * All rights reserved. This content is made available under 
6
 * All rights reserved. This content is made available under 
7
 * the terms of the Eclipse Public License v1.0
7
 * the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
8
 * which accompanies this distribution, and is available at
Lines 22-72 Link Here
22
22
23
<body>
23
<body>
24
24
25
26
<h1>Creating an artifact</h1>
25
<h1>Creating an artifact</h1>
27
<p>
28
Test artifacts associate objects such as test suites and datapools; that is,
29
artifacts make an asset available to a test suite.
30
</p>
31
26
32
<p>Repeat the same sequence of steps as for creating a deployment but this time 
27
<p>Test artifacts associate test assets, such as test suites and datapools, with a test deployment.</p>
33
create an artifact named <i>testArtifact</i>.</p>
28
29
<p>Create a test artifact:</p>
34
30
35
<ol>
31
<ol>
36
	<li>
32
	<li>Right-click in the Test Navigator and select <b>New</b> &gt; <b>Test Element...</b>.</li>
37
	Right-click in the <b>Test Navigator</b> and select <b>New</b> &gt; <b>Test Element...</b>
33
	<li>Select <b>Test Assets</b> &gt; <b>Artifact</b> and click <b>Next</b>.</li>
38
	</li>
34
    <li>Provide the parent folder and the name for the test artifact and click <b>Next</b>.</li>
39
	<li>
35
    <li>Optionally, provide a description for the test artifact and click <b>Next</b>.</li>
40
	Open <b>Test Assets</b> and select <b>Artifact</b>.
36
    <li>Select the associated test assets, such as test suites and datapools.</li>
41
	</li>
37
    <li>Click <b>Finish</b> to create the test artifact.</li>
42
	<li>
43
	Click on <b>Next</b> to open the <b>New Artifact</b> dialog.
44
	</li>
45
	<li>
46
	Select the parent folder and enter the artifact name (<i>testArtifact</i>).
47
	</li>
48
	<li>
49
	Click on <b>Next</b> and optionally enter a description for the artifact.
50
	</li>
51
	<li>
52
	Click on <b>Finish</b>. The <b>Artifact editor</b> opens.</li>
53
</ol>
38
</ol>
54
39
55
<p>
40
<p>
56
<b>Related concepts</b><br/>
41
<b>Related concepts</b><br/>
57
<a href="../concepts/cartifacteditor.htm">Artifact Editor - overview</a><br/>
42
<a href="../concepts/cartifacteditor.htm">Editing an artifact</a><br/>
58
<a href="../concepts/cdeployeditor.htm">Deployment Editor - overview</a><br/>
59
<a href="../concepts/clocationeditor.htm">Location Editor - overview</a><br/>
60
</p>
43
</p>
61
44
62
<p>
45
<p>
63
<b>Related tasks</b><br/>
46
<b>Related tasks</b><br/>
64
<a href="tcreatetestdeployment.htm">Creating a deployment</a><br/>
47
<a href="tcreatetestdeployment.htm">Creating a deployment</a><br/>
65
<a href="tcreatelocation.htm">Creating a location</a><br/>
66
<a href="tassociateartifact.htm">Forming an artifact and location pairing</a><br/>
67
</p>
48
</p>
68
49
69
70
</body>
50
</body>
71
51
72
</html>
52
</html>
(-)tasks/tcreatelocation.htm (-40 / +17 lines)
Lines 2-8 Link Here
2
<html lang="en-us" xml:lang="en-us">
2
<html lang="en-us" xml:lang="en-us">
3
<!-- 
3
<!-- 
4
/**********************************************************************
4
/**********************************************************************
5
 * Copyright (c) 2006, 2007 Scapa Technologies and others.
5
 * Copyright (c) 2006, 2008 Scapa Technologies and others.
6
 * All rights reserved. This content is made available under 
6
 * All rights reserved. This content is made available under 
7
 * the terms of the Eclipse Public License v1.0
7
 * the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
8
 * which accompanies this distribution, and is available at
Lines 23-82 Link Here
23
23
24
<body>
24
<body>
25
25
26
27
<h1>Creating a location</h1>
26
<h1>Creating a location</h1>
28
<p>
29
Test locations identify the computer where the test suite will run.
30
</p>
31
27
32
<p>
28
<p>Test locations associate a target host with a test deployment.  The test suite will be executed 
33
Repeat the same sequence of steps as for creating a deployment but for this
29
on the target host specified in the test location.</p>
34
example create a location named <b>testLocation</b>.
30
35
</p>
31
<p>Create a test location:</p>
36
32
37
<ol>
33
<ol>
38
	<li>
34
	<li>Right-click in the Test Navigator and select <b>New</b> &gt; <b>Test Element...</b>.</li>
39
	Right-click in the <b>Test Navigator</b> and select&nbsp; 
35
	<li>Select <b>Test Assets</b> &gt; <b>Location</b> and click <b>Next</b>.</li>
40
	<b>New</b> &gt; <b>Test Element...</b>
36
    <li>Provide the parent folder and the name for the test location and click <b>Next</b>.</li>
41
	</li>
37
    <li>Optionally, provide a description for the test location and click <b>Next</b>.</li>
42
	<li>
38
    <li>Enter the host name or IP address of the target host. By default, <i>localhost</i> is entered.  Test the 
43
	Open <b>Test Assets</b> and select <b>Location</b>.
39
    connection to the target host by clicking the <b>Test Connection</b> link<sup>1</sup>.</li>
44
	</li>
40
    <li>Click <b>Finish</b> to create the test location.</li>
45
	<li>
46
	Click on <b>Next</b> to open the <b>New Location</b> dialog.
47
	</li>
48
	<li>
49
	Select the parent folder and enter the artifact name (<i>testLocation</i>).
50
	</li>
51
	<li>
52
	Click on <b>Next</b> and optionally enter a description for the location.
53
	</li>
54
	<li>
55
	Click <b>Finish</b>. The <i>Location editor</i> opens.
56
	</li>
57
</ol>
41
</ol>
58
42
59
<p>If the intention is to run tests on another computer, the name of that computer must be entered&nbsp;in the <b>H</b><b>ost name</b> field
43
<p>[1] The <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/ac/c_ac_ovr.html">Agent Controller</a> or 
60
of the relevant location.</p>
44
<a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/ac/ciacintro.html">Integrated Agent Controller</a> 
61
45
(local host only) is required to be configured and running.</p>
62
<p>Where a TPTP JUnit Test is being deployed remotely, there are a number of other considerations to take into account. These are covered in
46
	    
63
the documentation relating to TPTP JUnit Test.</p>
64
65
<p>
47
<p>
66
<b>Related concepts</b><br/>
48
<b>Related concepts</b><br/>
67
<a href="../concepts/cartifacteditor.htm">Artifact Editor - overview</a><br/>
49
<a href="../concepts/clocationeditor.htm">Editing a location</a><br/>
68
<a href="../concepts/cdeployeditor.htm">Deployment Editor - overview</a><br/>
69
<a href="../concepts/clocationeditor.htm">Location Editor - overview</a><br/>
70
</p>
50
</p>
71
51
72
<p>
52
<p>
73
<b>Related tasks</b><br/>
53
<b>Related tasks</b><br/>
74
<a href="tcreatetestdeployment.htm">Creating a deployment</a><br/>
54
<a href="tcreatetestdeployment.htm">Creating a deployment</a><br/>
75
<a href="tcreateartifact.htm">Creating an artifact</a><br/>
76
<a href="tassociateartifact.htm">Forming an artifact and location pairing</a><br/>
77
</p>
55
</p>
78
56
79
80
</body>
57
</body>
81
58
82
</html>
59
</html>
(-)tasks/tcreateperformancetestreports.htm (-12 / +12 lines)
Lines 66-89 Link Here
66
  </tbody>
66
  </tbody>
67
</table>
67
</table>
68
68
69
[1] Adobe's <a href="http://www.adobe.com/svg/viewer/install/main.html">Scalable Vector Graphics (SVG)</a> browser plug-in is required. 
69
<p>[1] Adobe's <a href="http://www.adobe.com/svg/viewer/install/main.html">Scalable Vector Graphics (SVG)</a> browser plug-in is required.</p> 
70
70
71
<p>Configure the fonts used when generating the performance test report:</p>
71
<p>Configure the fonts used when generating a performance test report:</p>
72
<ol>
72
<ol>
73
 	<li>Open the <b>Window &gt; Preferences</b> dialog.</li>
73
 	<li>Select <b>Window</b> &gt; <b>Preferences...</b> from the file menu.</li>
74
	<li>Select the report <b>Test &gt; Test Report &gt; Font</b> preference page.</li>
74
	<li>Select the report <b>Test</> &gt; <b>Test Reports<b> &gt; <b>Fonts</b> preference page.</li>
75
	<li>Configure the fonts used when generating the performance test report.</li>
75
	<li>Configure the fonts used when generating a performance test report.</li>
76
	<li>Select <b>OK</b>.</li>
76
	<li>Click <b>OK</b> to save the preferences.</li>
77
</ol>
77
</ol>
78
78
79
<p>Generate the performance test report:</p>
79
<p>Generate a performance test report:</p>
80
<ol>
80
<ol>
81
  <li>Right-click on a performance test suite in the Test Navigator and select <strong>Report... </strong> from the context menu.</li>
81
  <li>Right-click on a performance test suite in the Test Navigator and select <b>Report... </b>.</li>
82
  <li>The <strong>New Report</strong> dialog opens.</li>
82
  <li>Select one of the performance test report types and click <b>Next </b>.</li>
83
  <li>Select one of the performance test report types and click on <strong>Next </strong>.</li>
83
  <li>Provide the parent folder and the name for the performance test report and click <b>Next</b>.</li>
84
  <li>Provide the parent folder and a name for the performance test report, then click on <strong>Next</strong>.</li>
85
  <li>Optionally, provide the report window (start and end data and time) for the performance test report.</li>
84
  <li>Optionally, provide the report window (start and end data and time) for the performance test report.</li>
86
  <li>Click <strong>Finish </strong> to generate the performance test report.</li>
85
  <li>Click <b>Finish </b> to generate the performance test report.</li>
87
</ol>
86
</ol>
87
88
</body>
88
</body>
89
</html>
89
</html>
(-)tasks/tcreatetestreports.htm (-12 / +12 lines)
Lines 56-79 Link Here
56
  </tbody>
56
  </tbody>
57
</table>
57
</table>
58
58
59
[1] Adobe's <a href="http://www.adobe.com/svg/viewer/install/main.html">Scalable Vector Graphics (SVG)</a> browser plug-in is required. 
59
<p>[1] Adobe's <a href="http://www.adobe.com/svg/viewer/install/main.html">Scalable Vector Graphics (SVG)</a> browser plug-in is required.</p> 
60
60
61
<p>Configure the fonts used when generating the test report:</p>
61
<p>Configure the fonts used when generating a test report:</p>
62
<ol>
62
<ol>
63
 	<li>Open the <b>Window &gt; Preferences</b> dialog.</li>
63
 	<li>Select <b>Window</b> &gt; <b>Preferences...</b> from the file menu.</li>
64
	<li>Select the report <b>Test &gt; Test Report &gt; Font</b> preference page.</li>
64
	<li>Select the report <b>Test</> &gt; <b>Test Reports<b> &gt; <b>Fonts</b> preference page.</li>
65
	<li>Configure the fonts used when generating the test report.</li>
65
	<li>Configure the fonts used when generating a test report.</li>
66
	<li>Select <b>OK</b>.</li>
66
	<li>Click <b>OK</b> to save the preferences.</li>
67
</ol>
67
</ol>
68
68
69
<p>Generate the test report:</p>
69
<p>Generate a test report:</p>
70
<ol>
70
<ol>
71
  <li>Right-click on a test suite in the Test Navigator and select <strong>Report... </strong> from the context menu.</li>
71
  <li>Right-click on a test suite in the Test Navigator and select <b>Report... </b>.</li>
72
  <li>The <strong>New Report</strong> dialog opens.</li>
72
  <li>Select one of the test report types and click <b>Next </b>.</li>
73
  <li>Select one of the test report types and click on <strong>Next </strong>.</li>
73
  <li>Provide the parent folder and the name for the test report and click <b>Next</b>.</li>
74
  <li>Provide the parent folder and a name for the test report, then click on <strong>Next</strong>.</li>
75
  <li>Optionally, provide the report window (start and end data and time) for the test report.</li>
74
  <li>Optionally, provide the report window (start and end data and time) for the test report.</li>
76
  <li>Click <strong>Finish </strong> to generate the test report.</li>
75
  <li>Click <b>Finish </b> to generate the test report.</li>
77
</ol>
76
</ol>
77
78
</body>
78
</body>
79
</html>
79
</html>
(-)tasks/tassociateartifact.htm (-108 lines)
Removed Link Here
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
2
<html lang="en-us" xml:lang="en-us">
3
<!-- 
4
/**********************************************************************
5
 * Copyright (c) 2006, 2007 Scapa Technologies and others.
6
 * All rights reserved. This content is made available under 
7
 * the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
9
 * http://www.eclipse.org/legal/epl-v10.html        
10
 * $Id: tassociateartifact.htm,v 1.7 2007/05/03 14:33:14 paules Exp $
11
 *
12
 * Contributors:
13
 * Scapa Technologies - Initial contribution
14
 * IBM - updates
15
 **********************************************************************/  
16
 -->
17
 
18
<head>
19
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
20
<link rel="StyleSheet" href="../css/book.css" type="text/css" />
21
22
<title>Forming an artifact and location pairing</title>
23
</head>
24
25
<body>
26
27
28
<h1>Forming an artifact and location pairing</h1>
29
<p>
30
Create the pair of test artifact and location to be used by the test
31
deployment.
32
</p>
33
34
<p>If the <b>Deployment editor</b> is not already open, open it by double-clicking on <i>testDeployment.deploy</i>. Select
35
the <b>Pairs</b> tab.<br />
36
<img width="474" height="428" src="../images/creatingATestDeployment_image019.png" alt="" /></p><p></p>
37
38
<h3>Adding the Artifact</h3>
39
40
<ol>
41
	<li>
42
	Click the <b>Add...</b> button adjacent to the <b>Artifacts </b>section. The <b>Add Artifact Association</b> dialog launches.</li>
43
	<li>Select the <b>Use an existing resource</b> option. Either type in the path 
44
	reference for <i>testArtifact</i> in the <b>Existing resource</b> field, or use
45
	the <b>Browse...</b> button to navigate to it and select it.
46
	</li>
47
	<li>
48
	Click <b>Finish</b>. The artifact will be added to the list in the <b>Artifacts</b> section.
49
	</li>
50
</ol><h3>Adding the Location</h3>
51
52
<p>This follows a similar process to that for adding an artifact. 
53
<ol>
54
	<li>
55
		Click on the <b>Add...</b> button adjacent to the <b>Locations </b>section.
56
		The <b>Add Location Association</b> dialog launches.
57
	</li>
58
	<li>Select the <b>Use an existing resource</b> 
59
		option and either type in the path reference for <i>testLocation</i> in the 
60
		<b>Existing resource</b> field, or use the <b>Browse...</b> button to navigate to 
61
		it and select it.
62
	</li>
63
	<li>
64
		Click <b>Finish</b>. The location will be added to the list in the <b>Locations</b> section.
65
	</li>
66
</ol>
67
</p>
68
69
<p><img width="473" height="214" src="../images/creatingATestDeployment_image023.png" alt="" /></p>
70
71
<p>You can add or remove items from the <b>Artifacts </b>or <b>Locations</b> lists by using their respective&nbsp; <b>Add...</b> or <b>Remove</b>
72
buttons. To remove an item, select it and then press the <b>Remove</b> button.</p>
73
74
<p>Where there is more than one item in either list, their relative ordering can be modified by selecting an item within the list and then pressing
75
the <b>Up</b> or <b>Down</b> buttons to move the selected item up or down the list, respectively.</p>
76
77
<p>Press the <b>Open...</b> button in either the Artifacts or Locations lists to open the Artifact or Location editor respectively for whichever
78
list item is selected.</p>
79
80
<h3>Forming the Artifact and Location Pairing</h3>
81
82
<p>Now click on the down-arrow button (<img border="0"
83
	src="../images/downArrow.gif" width="16" height="16" alt="Image of down arrow."/>) in the middle of the <i>Pairs</i> tab view to form the <i>testArtifact</i> and <i>testLocation</i> pairing.<br />
84
<img width="471" height="113" src="../images/creatingATestDeployment_image024.png" alt=""/></p>
85
86
<p>To remove a pairing, select it and then press the&nbsp; <b>Remove</b> button. Where there is more than one pair in&nbsp;the
87
list, their relative ordering can be modified by selecting an item within the list and then pressing the <b>Up</b> or <b>Down</b>
88
buttons to move the selected item up or down the list, respectively.</p>
89
90
<p>
91
<b>Related concepts</b><br/>
92
<a href="../concepts/cartifacteditor.htm">Artifact Editor - overview</a><br/>
93
<a href="../concepts/cdeployeditor.htm">Deployment Editor - overview</a><br/>
94
<a href="../concepts/clocationeditor.htm">Location Editor - overview</a><br/>
95
</p>
96
97
<p>
98
<b>Related tasks</b><br/>
99
<a href="tcreatetestdeployment.htm">Creating a deployment</a><br/>
100
<a href="tcreateartifact.htm">Creating an artifact</a><br/>
101
<a href="tcreatelocation.htm">Creating a location</a><br/>
102
</p>
103
104
105
106
</body>
107
108
</html>
(-)ref/rdeploymentGroundRules.htm (-181 lines)
Removed Link Here
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
2
<html lang="en-us" xml:lang="en-us">
3
<!-- 
4
/**********************************************************************
5
 * Copyright (c) 2006, 2008 Scapa Technologies and others.
6
 * All rights reserved. This content is made available under 
7
 * the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
9
 * http://www.eclipse.org/legal/epl-v10.html        
10
 * $Id: rdeploymentGroundRules.htm,v 1.7 2008/03/11 18:12:20 paules Exp $
11
 *
12
 * Contributors:
13
 * Scapa Technologies - Initial contribution
14
 * IBM - updates
15
 **********************************************************************/  
16
 -->
17
18
<head>
19
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1" />
20
<link rel=StyleSheet href="../css/book.css" type="text/css" />
21
22
<title>Deployment ground rules</title>
23
</head>
24
25
<body>
26
27
<div>
28
29
<div>
30
31
<h1><a name="_Toc116098723"><b>Deployment ground rules</b></a></h1>
32
33
</div>
34
35
<h3><a name="_Toc116098724"><b>General</b></a></h3>
36
37
<p>TPTP only concerns itself with the properties CLASSPATH and ROOTDIR.</p>
38
39
<h3><a name="_Toc116098725"><b>Files to be deployed</b></a></h3>
40
41
<p>The files to be deployed at execution time are:</p>
42
43
<p align=left>1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Everything on the class path of the test project <i>except</i> the following file types: <b>.java</b>,
44
<b>.execution</b>, <b>.testsuite</b>, <b>.deploy</b>, <b>.location</b>, <b>.artifact</b>.</p>
45
46
<p align=left>2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Any test assets associated with the Artifact being used for test execution</p>
47
48
<p align=left>3.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Property <b>CLASSPATH</b> of the General Properties of the Artifact that is used for test execution.</p>
49
50
<p>&nbsp;</p>
51
52
<h3><a name="_Toc116098726"><b>ROOTDIR Considerations</b></a></h3>
53
54
<p>The following procedure is used to calculate ROOTDIR:</p>
55
56
<table border=1 cellspacing=0 cellpadding=0>
57
	<tr>
58
		<th width=55 valign=top>Step</th>
59
		<th width=55 valign=top>Instructions</th>
60
	</tr>
61
	<tr>
62
		<td width=55 valign=top>
63
		<p>Step 1</p>
64
		</td>
65
		<td width=561 valign=top>
66
		<p>TPTP first looks on the remote machine for the ROOTDIR location property (if specified); if this exists, then its value is taken as the output
67
		from this step.</p>
68
		<p>&nbsp;</p>
69
		<p>If the ROOTDIR location property has not been specified, or if it has but does not exist on the remote machine, TPTP derives one using the
70
		temporary directory found on the remote machine's environment; it looks for LOCAL_AGENT_TEMP_DIR, TEMP, and TMP, in that order, and, whichever is
71
		found first is taken as the output from this step.</p>
72
		</td>
73
	</tr>
74
	<tr>
75
		<td width=55 valign=top>
76
		<p>Step 2</p>
77
		</td>
78
		<td width=561 valign=top>
79
		<p align=left>TPTP looks for the USR_NAME location property on the local machine. If this does not exist it pulls the user.name property from Java
80
		(System.getProperty(&quot;user.name&quot;)).</p>
81
		</td>
82
	</tr>
83
	<tr>
84
		<td width=55 valign=top>
85
		<p>Step 3</p>
86
		</td>
87
		<td width=561 valign=top>
88
		<p>TPTP concatenates the outputs from Steps 1 and 2 and takes this to be the ROOTDIR to use.</p>
89
		</td>
90
	</tr>
91
</table>
92
93
<p>&nbsp;</p>
94
95
<h3><a name="_Toc116098727"><b>CLASSPATH Considerations</b></a></h3>
96
97
<p>To set up JARs that will be deployed and rooted under your ROOTDIR, set up the CLASSPATH parameter for your artifact; to set up JARs that do not
98
need to be deployed (for instance, they already exist on the location/machine to be deployed to) but still need to be included in the class path,
99
then&nbsp; set up the CLASSPATH parameter in your location. So the distinction between artifact and location CLASSPATH is whether you want the JAR
100
deployed and referenced or just referenced at the deployment location.</p>
101
102
<h3><a name="_Toc116098728"><b>Excluded Libraries</b></a></h3>
103
104
<p>Certain libraries are not deployed even if they are listed in the artifact's class path property. They are:
105
<ul>
106
	<li>commons-logging.jar</li>
107
	<li>common-model.jar</li>
108
	<li>common.runner.jar</li>
109
	<li>datapool_api.jar</li>
110
	<li>ecore.jar</li>
111
	<li>ecore.xmi.jar</li>
112
	<li>hcframe.jar</li>
113
	<li>hexcore.jar</li>
114
	<li>hexl.jar</li>
115
	<li>hexr.jar</li>
116
	<li>hexrecr.jar</li>
117
	<li>hgla.jar</li>
118
	<li>hglaconfig.jar</li>
119
	<li>hmodel.jar</li>
120
	<li>hparse.jar</li>
121
	<li>hl14.jar</li>
122
	<li>hlcommons.jar</li>
123
	<li>hlcore.jar</li>
124
	<li>hlevents.jar</li>
125
	<li>hlcbe101.jar</li>
126
	<li>urlRecorder.runner.jar</li>
127
	<li>http.runner.jar</li>
128
	<li>java.runner.jar</li>
129
	<li>jmxagent.jar</li>
130
	<li>junit.jar</li>
131
	<li>runtime.jar</li>
132
	<li>xercesImpl.jar</li>
133
	<li>xmlParserAPIs.jar</li>
134
</ul>
135
</p>
136
137
<p>&nbsp;</p>
138
139
<h3><a name="_Toc115944850"></a><a name="_Toc116098729"><b>Agent Controller Considerations</b></a></h3>
140
141
<p>Workbench clients before TPTP 3.3 cannot use agent controllers of TPTP 3.3 and beyond (they must continue to use older, pre-TPTP
142
3.3 agent controllers). Clients of TPTP 3.3 and beyond can use both old and new agent controllers.&nbsp; In summary, currently, the client/server
143
support in TPTP is the following:</p>
144
145
<h4>TPTP 3.3+ Clients</h4>
146
147
<p>Clients &gt;= TPTP 3.3 and Server &gt;= TPTP 3.3 [use new file transfer protocol if unsecured Agent Controller, old file transfer protocol if
148
secure AC]</p>
149
150
<p>Clients &gt;= TPTP 3.3 and Server &lt; TPTP 3.3 [use old file transfer protocol for unsecured and secured Agent Controllers]</p>
151
152
<h4>TPTP Earlier Clients</h4>
153
154
<p>Clients &lt; TPTP 3.3 and Server &gt;= TPTP 3.3 [this combination does not function due to older clients not understanding new server file transfer
155
protocol]</p>
156
157
<p>Clients &lt; TPTP 3.3 and Server &lt; TPTP 3.3 [uses old file transfer protocol for unsecured and secured Agent Controllers]</p>
158
159
<p>There were file transfer service changes in TPTP 3.3 and TPTP 4.0 (to enhance the speed of deployment) that caused a new file transfer service
160
protocol to be used, any clients before TPTP 3.3 do not know about this new protocol and therefore test deployment will fail.&nbsp; Newer clients know
161
about the new and old protocols and therefore deployment will work.</p>
162
163
<h3><a name="_Toc115944851"></a><a name="_Toc116098730"><b>OS Considerations</b></a></h3>
164
165
<h4>File Path Naming Conventions</h4>
166
167
<p>Ensure that any file paths that you set in properties properly reflect the OS naming conventions for the target machine. For example, if you are
168
deploying to a Linux machine from a Windows client, and you have specified ROOTDIR, say,&nbsp; check that its value is a legal path for Linux.</p>
169
170
<h4>Absolute Paths</h4>
171
172
<p>All paths <i>must</i> be absolute. For example, on Windows, &quot;C:\myRootDir&quot; is appropriate and on Linux &quot;/home/user/myRootDir&quot;
173
is appropriate - all paths must be absolute and not relative.</p>
174
175
<p>&nbsp;</p>
176
177
</div>
178
179
</body>
180
181
</html>
(-)toc/deploy_toc.xml (-9 / +10 lines)
Lines 1-7 Link Here
1
<?xml version="1.0" encoding="utf-8"?>
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- 
2
<!-- 
3
/**********************************************************************
3
/**********************************************************************
4
 * Copyright (c) 2007 IBM Corporation.
4
 * Copyright (c) 2007, 2008 IBM Corporation.
5
 * All rights reserved.   This content
5
 * All rights reserved.   This content
6
 * is made available under the terms of the Eclipse Public License v1.0
6
 * is made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 15-27 Link Here
15
<?NLS  TYPE="org.eclipse.help.toc"?>
15
<?NLS  TYPE="org.eclipse.help.toc"?>
16
<toc label="Common test deployment topics">
16
<toc label="Common test deployment topics">
17
	<topic label="Creating a test deployment" href="tasks/tdeploymentintro.htm">
17
	<topic label="Creating a test deployment" href="tasks/tdeploymentintro.htm">
18
		<topic label="Creating an artifact" href="tasks/tcreateartifact.htm"/>
18
		<topic label="Creating an artifact" href="tasks/tcreateartifact.htm">
19
		<topic label="Artifact Editor - overview" href="concepts/cartifacteditor.htm"/>
19
			<topic label="Editing an artifact" href="concepts/cartifacteditor.htm"/>
20
		<topic label="Creating a location" href="tasks/tcreatelocation.htm"/>
20
		</topic>
21
		<topic label="Location Editor - overview" href="concepts/clocationeditor.htm"/>
21
		<topic label="Creating a location" href="tasks/tcreatelocation.htm">
22
		<topic label="Creating a deployment" href="tasks/tcreatetestdeployment.htm"/>
22
			<topic label="Editing a location" href="concepts/clocationeditor.htm"/>
23
		<topic label="Deployment Editor - overview" href="concepts/cdeployeditor.htm"/>
23
		</topic>
24
		<topic label="Forming an artifact and location pairing" href="tasks/tassociateartifact.htm"/>
24
		<topic label="Creating a deployment" href="tasks/tcreatetestdeployment.htm">
25
		<topic label="Deployment ground rules" href="ref/rdeploymentGroundRules.htm"/>
25
			<topic label="Editing a deployment" href="concepts/cdeployeditor.htm"/>
26
		</topic>
26
	</topic>
27
	</topic>
27
</toc>
28
</toc>
(-)tasks/treporttest.xhtml (-7 / +6 lines)
Lines 58-73 Link Here
58
  </tbody>
58
  </tbody>
59
</table>
59
</table>
60
60
61
[1] Adobe's <a href="http://www.adobe.com/svg/viewer/install/main.html">Scalable Vector Graphics (SVG)</a> browser plug-in is required. 
61
<p>[1] Adobe's <a href="http://www.adobe.com/svg/viewer/install/main.html">Scalable Vector Graphics (SVG)</a> browser plug-in is required.</p> 
62
62
63
<p>Generate the BIRT test report:</p>
63
<p>Generate a BIRT test report:</p>
64
<ol>
64
<ol>
65
  <li>Right-click on a test suite in the Test Navigator and select <strong>Report... </strong> from the context menu.</li>
65
  <li>Right-click on a test suite in the Test Navigator and select <b>Report... </b>.</li>
66
  <li>The <strong>New Report</strong> dialog opens.</li>
66
  <li>Select one of the BIRT test report types and click <b>Next </b>.</li>
67
  <li>Select one of the BIRT test report types and click on <strong>Next </strong>.</li>
67
  <li>Provide the parent folder and the name for the BIRT test report and click <b>Next</b>.</li>
68
  <li>Provide the parent folder and a name for the BIRT test report, then click on <strong>Next</strong>.</li>
69
  <li>Optionally, provide the report window (start and end data and time) for the BIRT test report.</li>
68
  <li>Optionally, provide the report window (start and end data and time) for the BIRT test report.</li>
70
  <li>Click <strong>Finish </strong> to generate the BIRT test report.</li>
69
  <li>Click <b>Finish </b> to generate the BIRT test report.</li>
71
</ol>
70
</ol>
72
</body>
71
</body>
73
</html>
72
</html>
(-)tasks/trecordtest.html (-1 / +1 lines)
Lines 37-43 Link Here
37
a test from the recording, and opening the test in the test editor. You can
37
a test from the recording, and opening the test in the test editor. You can
38
record a test from Internet Explorer (the default on Windows) or from another
38
record a test from Internet Explorer (the default on Windows) or from another
39
browser.</p>
39
browser.</p>
40
<div class="p">Optionally launch the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/tasks/ac/tworkwac.html">Agent Controller</a> on the local host or default to the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/ac/ciacintro.html">Integrated Agent Controller</a>
40
<div class="p">Optionally launch the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/ac/c_ac_ovr.html">Agent Controller</a> on the local host or default to the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/ac/ciacintro.html">Integrated Agent Controller</a>
41
<p>If you will record with Internet Explorer, you do not need
41
<p>If you will record with Internet Explorer, you do not need
42
to set your browser preferences. However, this procedure assumes that the
42
to set your browser preferences. However, this procedure assumes that the
43
defaults are set, so you might want to click <span class="menucascade"><span class="uicontrol">Window</span> &gt; <span class="uicontrol">Preferences</span></span>, expand Test, select <span class="uicontrol">HTTP
43
defaults are set, so you might want to click <span class="menucascade"><span class="uicontrol">Window</span> &gt; <span class="uicontrol">Preferences</span></span>, expand Test, select <span class="uicontrol">HTTP
(-)tasks/tprereqmanualtestconfiguration.htm (-4 / +5 lines)
Lines 34-47 Link Here
34
	<li>Open the <b>Test</b> perspective. Select <b>Window</b> &gt; <b>Open Perspective</b> &gt; <b>Other...</b> &gt; <b>Test</b> &gt; <b>OK</b>.</li>
34
	<li>Open the <b>Test</b> perspective. Select <b>Window</b> &gt; <b>Open Perspective</b> &gt; <b>Other...</b> &gt; <b>Test</b> &gt; <b>OK</b>.</li>
35
	<li>For local deployments:
35
	<li>For local deployments:
36
	  <ol>
36
	  <ol>
37
	    <li>Optionally launch the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/tasks/ac/tworkwac.html">Agent Controller</a> on the local host or default to the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/rac/ciacintro.html">Integrated Agent Controller</a>.</li>
37
	    <li>Optionally launch the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/ac/c_ac_ovr.html">Agent Controller</a> on the local host or default to the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/ac/ciacintro.html">Integrated Agent Controller</a>.</li>
38
	    
38
	    
39
	    <li>Optionally create a test deployment or default to the <i>local_deployment</i> deployment.</li>
39
	    <li>Optionally create a test deployment or default to the <i>local_deployment</i> deployment.</li>
40
	  </ol>
40
	  </ol>
41
	</li>
41
	</li>
42
	<li>For remote deployments:
42
	<li>For remote deployments:
43
	  <ol>
43
	  <ol>
44
	    <li>Launch the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/tasks/ac/tworkwac.html">Agent Controller</a> on the remote host.</li>
44
	    <li>Launch the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/ac/c_ac_ovr.html">Agent Controller</a> on the remote host.</li>
45
	    <li>Create a test deployment to the remote host.</li>
45
	    <li>Create a test deployment to the remote host.</li>
46
	  </ol>
46
	  </ol>
47
	</li>
47
	</li>
Lines 50-63 Link Here
50
<br/>
50
<br/>
51
51
52
<p><strong>Related concepts</strong><br/>
52
<p><strong>Related concepts</strong><br/>
53
   <a href="../concepts/cmanualtestoverview.htm">Manual testing with TPTP - overview</a><br/>
53
   <a href="../concepts/cmanualtestoverview.htm">Testing manually</a><br/>
54
</p>
54
</p>
55
 
55
 
56
<p><strong>Related tasks</strong><br/>
56
<p><strong>Related tasks</strong><br/>
57
   <a href="tdeploymentintro.htm">Creating a test deployment</a><br/>
57
   <a href="tdeploymentintro.htm">Creating a test deployment</a><br/>
58
   <a href="trunningmanualtestsuite.htm">Running a manual test</a><br/>
58
   <a href="trunningmanualtestsuite.htm">Running a manual test</a><br/>
59
   <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/tasks/ac/tiactesting.html">Testing with a local deployment</a><br/>
59
   <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/tasks/ac/tiactesting.html">Testing with a local deployment</a><br/>
60
   <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/tasks/ac/tworkwac.html">Working with the Agent Controller</a><br/>
60
   <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/ac/c_ac_ovr.html">Working with the Agent Controller</a><br/>
61
   <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/ac/ciacintro.html">Working with the Integrated Agent Controller</a><br/>
61
   
62
   
62
</p>
63
</p>
63
</body>
64
</body>
(-)tasks/tdeploy2.htm (-65 lines)
Removed Link Here
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
2
<html lang="en-us" xml:lang="en-us">
3
<!-- 
4
/**********************************************************************
5
 * Copyright (c) 2005, 2008 Scapa Technologies and others.
6
 * All rights reserved. This content is made available under 
7
 * the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
9
 * http://www.eclipse.org/legal/epl-v10.html        
10
 * $Id: tdeploy2.htm,v 1.2 2008/04/09 19:57:53 paules Exp $
11
 *
12
 * Contributors:
13
 * Scapa Technologies - Initial contribution
14
 * IBM - updates
15
 **********************************************************************/  
16
 -->
17
<head>
18
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1"/>
19
<link rel=StyleSheet href="../css/book.css" type="text/css"/>
20
21
<title>Create a deployment</title>
22
</head>
23
24
<body>
25
26
<h1><b>Create a deployment</b></h1>
27
28
<p>To complete the deployment process we need to
29
establish a TPTP deployment to associate the <i>workLOC</i> workbench location with. </p>
30
31
<p>Note that the
32
deployment editor is fully described in the referenced topics below. In this example we simply show the necessary steps
33
required to create the deployment and associate the <i>workLOC</i> workbench location
34
with it.</p>
35
36
Proceed as follows:
37
<ol>
38
	<li>Create a deployment named <i>workDEPLOY</i>.</li>
39
	<li>Select the <b>Pairs</b> tab.</li>
40
	<li>In the <b>Locations</b> section, click the <b>Add...</b> button. The <b>Add Location Association</b> dialog launches.</li>
41
	<li>Choose <b>Existing Resource</b> and type or browse to <i>workLOC</i>.</li>
42
	<li>Click <b>Finish</b>. <i>workLOC</i> will be added to the <b>Locations</b> list.</li>
43
</ol>
44
45
<p>Note that there is no need to provide an
46
Artifact in this case.</p>
47
48
<p>
49
<b>Related concepts</b><br/>
50
<a href="../../org.eclipse.hyades.test.doc.user/concepts/cartifacteditor.htm">Artifact Editor - overview</a><br/>
51
<a href="../../org.eclipse.hyades.test.doc.user/concepts/cdeployeditor.htm">Deployment Editor - overview</a><br/>
52
<a href="../../org.eclipse.hyades.test.doc.user/concepts/clocationeditor.htm">Location Editor - overview</a><br/>
53
</p>
54
55
<p>
56
<b>Related tasks</b><br/>
57
<a href="../../org.eclipse.hyades.test.doc.user/tasks/tcreateartifact.htm">Creating an artifact</a><br/>
58
<a href="../../org.eclipse.hyades.test.doc.user/tasks/tcreatetestdeployment.htm">Creating a deployment</a><br/>
59
<a href="../../org.eclipse.hyades.test.doc.user/tasks/tcreatelocation.htm">Creating a location</a><br/>
60
<a href="../../org.eclipse.hyades.test.doc.user/tasks/tassociateartifact.htm">Forming an artifact and location pairing</a><br/>
61
</p>
62
63
</body>
64
65
</html>
(-)tasks/tdeploy.htm (-50 lines)
Removed Link Here
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
2
<html lang="en-us" xml:lang="en-us">
3
<!-- 
4
/**********************************************************************
5
 * Copyright (c) 2006, 2008 Scapa Technologies and others.
6
 * All rights reserved. This content is made available under 
7
 * the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
9
 * http://www.eclipse.org/legal/epl-v10.html        
10
 * $Id: tdeploy.htm,v 1.2 2008/04/09 19:57:53 paules Exp $
11
 *
12
 * Contributors:
13
 * Scapa Technologies - Initial contribution
14
 * IBM - updates
15
 **********************************************************************/  
16
 -->
17
<head>
18
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1"/>
19
<link rel=StyleSheet href="../css/book.css" type="text/css"/>
20
<title>Deploying a JUnit plug-in test</title>
21
</head>
22
23
<body>
24
25
<h1>Deploying a JUnit plug-in test</h1>
26
27
<p>Deploying a JUnit plug-in test normally
28
requires the creation and configuration of a workbench location. If the
29
deployment is local, there is a default deployment, <b>Deployment on the
30
local workbench</b>, that is automatically selected within the <b>Run</b> dialog if a TPTP JUnit
31
plug-in test is selected. </p>
32
33
<p align=center><img width=783 height=488
34
src="../images/deploy_image002.jpg" alt=""/></p>
35
36
<p><b>Note:</b>  The
37
default deployment <b>Deployment on the local
38
workbench</b> does not provide, for example, instance reuse, a headless workbench, nor does it run tests
39
in the UI thread. To obtain these features and other features, you must set up
40
a specific workbench location.</p>
41
42
<p>
43
<b>Related tasks</b><br/>
44
<a href="../../org.eclipse.hyades.test.doc.user/tasks/tdeploymentintro.htm">Creating a deployment</a><br/>
45
<a href="tcreateWorkbenchLocation.htm">Creating a workbench location</a><br/>
46
</p>
47
48
</body>
49
50
</html>
(-)tasks/tcreateWorkbenchLocation.htm (-38 / +27 lines)
Lines 24-71 Link Here
24
24
25
<h1>Creating a workbench location</h1>
25
<h1>Creating a workbench location</h1>
26
26
27
<p>
27
<p>Test workbench locations associate a target host with a test deployment.  The test suite will be executed 
28
A workbench location is used to specify where a TPTP JUnit Plug-in test will run.
28
on the target host specified in the test workbench location.</p>
29
</p>
29
30
<p>Create a test workbench location:</p>
30
31
31
<ol>
32
<ol>
32
	<li>
33
	<li>Right-click in the Test Navigator and select <b>New</b> &gt; <b>Test Element...</b>.</li>
33
	Select <b>File</b> &gt; <b>New</b> &gt; <b>Other</b> &gt; <b>Workbench Location</b> 
34
	<li>Select <b>Test Assets</b> &gt; <b>Workbench Location</b> and click <b>Next</b>.</li>
34
	&gt; <b>Test </b>&gt; <b>Test Assets</b>. Click  <b>Next</b>.
35
    <li>Provide the parent folder and the name for the test workbench location and click <b>Next</b>.</li>
35
	</li>
36
    <li>Optionally, provide a description for the test workbench location and click <b>Next</b>.</li>
36
	<li>
37
    <li>Select the target workbench as either the local workbench, as defined in the <a href="../../org.eclipse.pde.doc.user/guide/tools/preference_pages/target_platform.htm">Target Platform</a>, 
37
	In the &quot;Enter or select the parent folder&quot; field, type <i>pluginProject/src</i>. 
38
    or another workbench.  If another workbench is selected, enter the host name or IP address of the target host, Eclipse location (<i>&lt;Eclipse installation directory absolute path&gt;/eclipse</i>), 
38
	In the Name field type <i>workLOC</i>. 
39
    workspace location (<i>&lt;Eclipse workspace directory absolute path&gt;/eclipse</i>), operating system, windowing system, architecture, and locale for the host where the other workbench is installed.
39
	</li>
40
    Test the connection to the target host by clicking the <b>Test Connection</b> link<sup>1</sup>.  Select the main options for the target workbench</li>
40
	<li>
41
    <li>Click <b>Finish</b> to create the test workbench location.</li>
41
	Click  <b>Next</b> to launch the <b>Workbench Details</b> dialog. 
42
		<ul>
43
			<li>
44
			Select 'On the local workbench' if local deployment is required; 
45
			otherwise select 'On another workbench' and provide the Host name, 
46
			address, and the relevant Eclipse installation directory.
47
			</li>
48
			<li>
49
			If you want the same Eclipse instance to be reused<i></i> (i.e. 
50
			it will <i>not</i> shutdown and restart between test runs),
51
			then check the 'Allow the same instance to be reused' check box.
52
			Similarly, if you require a <i>headless workbench</i> or to 
53
			<i>run tests in the UI thread</i>, check the appropriate check 
54
			boxes in the dialog.
55
			</li>
56
		</ul>
57
	</li>
58
	<li>
59
	Click <b>Next</b> and provide a description of your workbench location 
60
	if required.
61
	</li>
62
	<li>
63
	Click <b>Finish</b>. The workbench location editor will open with the 
64
	<i>Overview</i> tab open. (If not, double-click on the <i>workLOC</i> 
65
	location file.)
66
	</li>
67
</ol>
42
</ol>
68
43
44
<p>[1] The <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/ac/c_ac_ovr.html">Agent Controller</a> or 
45
<a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/ac/ciacintro.html">Integrated Agent Controller</a> 
46
(local host only) is required to be configured and running.</p>
47
	    
48
<p>
49
<b>Related concepts</b><br/>
50
<a href="../concepts/cworkbenchLocationEditor.htm">Editing a workbench location</a><br/>
51
</p>
52
53
<p>
54
<b>Related tasks</b><br/>
55
<a href="../../org.eclipse.hyades.test.doc.user/tasks/tcreatetestdeployment.htm">Creating a deployment</a><br/>
56
</p>
57
69
</body>
58
</body>
70
59
71
</html>
60
</html>
(-)concepts/cworkbenchLocationEditor.htm (-58 / +59 lines)
Lines 26-101 Link Here
26
<body>
26
<body>
27
27
28
<h1>Workbench location editor</h1>
28
<h1>Workbench location editor</h1>
29
<p>
30
Use the Workbench location editor if necessary to adjust the workbench 
31
location where the JUnit plug-in test will run.
32
The editor has three tabs: Overview, Eclipse Workbench Properties, and General Properties.</p>
33
34
<p align="center"><img border="0" src="../images/workbenchLocationEditor_image002.gif"
35
	width="523" height="468" alt="" /></p>
36
37
<p>&nbsp;</p>
38
39
<p>&nbsp;</p>
40
29
41
<h3><b>Overview Tab</b></h3>
30
<p>Test workbench locations are edited using the Location editor.  The editor contains three tabs:</p> 
42
31
43
<p>The General Information section provides the Workbench
32
<h2>Overview</h2>
44
Location name (workLOC in this example), description, the path to the workLOC file
45
(/pluginProject/src/workLOC.location), and the host name (localhost). </p>
46
33
47
<p>The <i>Property Groups</i>
34
<p>This tab provides an overview of the test workbench location.</p>
48
section provides links to&nbsp; <b>Eclipse Workbench Properties</b> and <b>General Properties</b>. These also have their
49
own sections in this page and tabs in the editor. Selecting&nbsp; <b>Eclipse Workbench
50
Properties</b> or <b>General Properties</b>
51
anywhere within the <i>Overview</i> tab
52
page has the same effect as selecting their respective editor tabs.</p>
53
54
<p>
55
The links
56
provided in the <b>Eclipse Workbench Properties</b>
57
section all result, if selected, in the editor switching to
58
the <b>Eclipse Workbench Properties</b>
59
tab page where the actual relevant property setting facilities are found.
60
</p>
61
35
62
<h3><b>Eclipse Workbench Properties Tab</b></h3>
36
<p>This tab contains three sections:</p>
63
37
64
<p align=center><img width=517 height=424
38
<ul>
65
src="../images/workbenchLocationEditor_image003.png" alt=""/></p>
39
	<li>
40
		<p><b>General Information</b></p>
41
		<p>Contains the test workbench location's name, description, file path within the workspace, and host name or IP address.  The test workbench location's name<sup>1</sup>, description, and host name or IP address are editable.</p>
42
		<br/>
43
		<p>The connection to the target host may be tested by clicking the <b>Test Connection</b> link<sup>2</sup>.</p>
44
		<br/>
45
	</li>
46
	<li>
47
		<p><b>Property Groups</b></p>
48
		<p>Contains a link to the General Properties and Eclipse Workbench Properties tab.  Clicking a link will open the associated tab.</p>
49
		<br/>
50
	</li>
51
	<li>
52
		<p><b>Eclipse Workbench Properties</b></p>
53
		<p>Contains links to the Eclipse Workbench properties in the Eclipse Workbench Properties tab.  Clicking a link or the More... button will
54
		open the Eclipse Workbench Properties tab.</p>
55
		<br/>
56
	</li>
57
	<li>
58
		<p><b>General Properties</b></p>
59
		<p>Contains links to the general properties in the General Properties tab.  Clicking a link or the More... button will
60
		open the General Properties tab.</p>
61
		<br/>
62
		<p>Note, the General Properties section will only appear if one or more general properties are associated with the test workbench location.</p>
63
		<br/>
64
	</li>
65
</ul>
66
67
<p>[1] Test workbench locations have a file name and logical name.  The logical name is used in the Test Navigator, dialogs, editors, and wizards to represent the test workbench location.
68
The file name represents the test workbench location file (<i>*.location</i>) within the workspace.  When the test workbench location is created, the logical name defaults to the file name 
69
(excluding the <i>.location</i> file extension) and may be modified without modifying the file name.  The logical name allows customization of the test workbench location name 
70
without affecting the file name within the workspace.</p>
71
72
<p>[2] The <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/ac/c_ac_ovr.html">Agent Controller</a> or 
73
<a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/ac/ciacintro.html">Integrated Agent Controller</a> 
74
(local host only) is required to be configured and running.</p>
75
76
<h2>General Properties</h2>
77
78
<p>This tab contains the table of general properties associated with the test workbench location.</p>  
79
80
<p>Note, the General Properties tab will only appear if one or more general properties are associated with the test workbench location.</p>
81
82
<p>General properties can be added to the table by clicking the <b>Add...</b> button and entering the property name, operator (<i>=</i>, <i>!=</i>, <i>&gt;</i>, <i>&lt;</i>, <i>&gt;=</i>, or <i>&lt;=</i>), and value.</p>
83
84
<p>All file paths are absolute and operating system dependent based on the target operating system.</p>
66
85
67
<p>&nbsp;</p>
86
<p>Selected general properties can be removed (<b>Remove</b>), moved up (<b>Up</b>), or moved down (<b>Down</b>).  Existing general properties may be edited by double-clicking
87
the general property in the table and and modifying the property name, operator, and/or value.</p>
68
88
69
<p>This page offers facilities to set particular Eclipse
89
<h2>Eclipse Workbench Properties</h2>
70
Workbench properties. <i></i></p>
71
90
72
<p>Of particular interest to <b>TPTP JUnit Plug-in Test</b> users are the properties <i>eclipseLocation</i>, <i>allowReuse</i>, <i>headless</i>, and <i>uiThread</i>,
91
<p>This tab contains the table of Eclipse Workbench properties associated with the test workbench location, as defined in the <a href="../../org.eclipse.pde.doc.user/guide/tools/preference_pages/target_platform.htm">Target Platform</a>.</p>  
73
for which options were provided when creating the <b>Workbench Location</b>.</p>
74
92
75
<p>The other properties should already be familiar to
93
<p>All file paths are absolute and operating system dependent based on the target operating system.</p>
76
Eclipse plug-in developers.</p>
77
78
<h3><b>General Properties Tab</b></h3>
79
80
<p align=center><img width=301 height=211
81
src="../images/workbenchLocationEditor_image005.png" alt=""/></p>
82
83
<p>&nbsp;</p>
84
85
<p>The <i>General
86
Properties</i> page provides facilities to add additional properties
87
over and above those specifiable in the <i>Eclipse
88
Workbench Properties</i> page. A detailed explanation of how to
89
configure <i>General Properties</i> is
90
written in the topic <i>Creating a Test
91
Deployment</i>.</p>
92
93
<p>&nbsp;</p>
94
94
95
<p>
95
<p>
96
<b>Related tasks</b><br />
96
<b>Related tasks</b><br/>
97
<a href="../../org.eclipse.hyades.test.doc.user/tasks/tdeploymentintro.htm">Creating a Test Deployment</a><br />
97
<a href="../tasks/tcreateWorkbenchLocation.htm">Creating a workbench location</a><br/>
98
</p>
98
</p>
99
99
</body>
100
</body>
100
101
101
</html>
102
</html>
(-)toc/junitplugin_toc.xml (-4 / +3 lines)
Lines 28-37 Link Here
28
          </topic>
28
          </topic>
29
		  <topic label="Tutorial: Accessing a datapool from a JUnit Plug-in test" href="../org.eclipse.hyades.test.doc.user/samples/saccessdp.htm"/>
29
		  <topic label="Tutorial: Accessing a datapool from a JUnit Plug-in test" href="../org.eclipse.hyades.test.doc.user/samples/saccessdp.htm"/>
30
      </topic>          
30
      </topic>          
31
      <topic label="Creating a workbench location" href="tasks/tcreateWorkbenchLocation.htm"/>
31
	  <topic label="Creating a workbench location" href="tasks/tcreateWorkbenchLocation.htm">
32
      <topic label="Workbench location editor" href="concepts/cworkbenchLocationEditor.htm"/>
32
	    <topic label="Editing a workbench location" href="concepts/cworkbenchLocationEditor.htm"/>
33
      <topic label="Create a deployment" href="tasks/tdeploy2.htm"/>
33
	  </topic>
34
      <topic label="Deploying a JUnit plug-in test" href="tasks/tdeploy.htm"/>
35
      <topic label="Running a test" href="../org.eclipse.hyades.test.doc.user/tasks/trun.htm"/>
34
      <topic label="Running a test" href="../org.eclipse.hyades.test.doc.user/tasks/trun.htm"/>
36
35
37
	  <link toc="../org.eclipse.hyades.test.doc.user/toc/logviewer_toc.xml"/>
36
	  <link toc="../org.eclipse.hyades.test.doc.user/toc/logviewer_toc.xml"/>

Return to bug 201892