Template:TestPlan Test: Difference between revisions

From Calidus HUB
No edit summary
(Changed to allow up to 99 individual tests within a cycle, rather than 10 previously)
Line 7: Line 7:
<pre>
<pre>
{{TestPlan_Test
{{TestPlan_Test
|Test={{ #vardefineecho: SubCycle | {{ #expr: {{ #var: SubCycle }} + 0.1 }} }}
|Test={{ #vardefineecho: SubCycle | {{ #expr: {{ #var: SubCycle }} + 0.01 }} }}
|Action=The actions to follow
|Action=The actions to follow
|Result=The expected result
|Result=The expected result
Line 17: Line 17:
</noinclude>
</noinclude>
<tr>
<tr>
<td>{{{Test}}}</td>
<td>{{#number_format: {{{Test}}} |2 }}</td>
<td>{{{Action}}}</td>
<td>{{{Action}}}</td>
<td>{{{Result}}}</td>
<td>{{{Result}}}</td>

Revision as of 14:10, 15 March 2012

Note Note: To be used with Template:TestPlan_CycleHeader and Template:TestPlan_CycleFooter only.

Note Note: Ensure that you have defined SubCycle variable under CycleHeader - see that template for details.

Usage:

{{TestPlan_Test
|Test={{ #vardefineecho: SubCycle | {{ #expr: {{ #var: SubCycle }} + 0.01 }} }}
|Action=The actions to follow
|Result=The expected result
|Remarks=
|PassFail=
}}
First argument to "number_format" must be a number. {{{Action}}} {{{Result}}}