forked from matheusgr/easyaccept
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathant-task-manual.html
66 lines (48 loc) · 1.75 KB
/
ant-task-manual.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title> EasyAccept Task</title>
</head>
<body>
<h2><a name="easyaccept">EasyAccept</a></h2>
<h3>Description</h3>
<p>Runs EasyAccept given the facade to be used and paths to the script files.</p>
</b>Note:</b> This task depends on external libraries not included in the Ant distribution.
<h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<td valign="top"><b>Attribute</b></td>
<td valign="top"><b>Description</b></td>
<td align="center" valign="top"><b>Required</b></td>
</tr>
<tr>
<td valign="top">facade</td>
<td valign="top">The Facade class full qualified name.</td>
<td align="center" valign="top">yes</td>
</tr>
<tr>
<td valign="top">failonerror</td>
<td valign="top">Fails build process in case of error. A test failure is not considered an error.</td>
<td align="center" valign="top">no</td>
</tr>
<tr>
<td valign="top">failureproperty</td>
<td valign="top">The name of the property where a "true" value will be stored in case of test failure.</td>
<td align="center" valign="top">no</td>
</tr>
</table>
<h3>Parameters specified as nested elements</h3>
<h4>path</h4>
<p>The path where the script files will be.</p>
<h3>Examples</h3>
<pre>
<easyaccept facade="test.Facade" failureproperty="test.failed">
<path>
<fileset dir="${basedir}/test/script*.txt"/>
<path>
</easyaccept>
</pre>
Runs EasyAccept with <i>test.Facade</i> as facade class to be used and all files in <i>${basedir}/test</i> directory that matches to <i>script*txt</i> regex.
Case any of the tests fails, <i>true</i> will be stored in <i>${test.failed}</i> property.
</body>
</html>