Template:TestPlan CycleHeader: Difference between revisions

From Calidus HUB
m (1 revision)
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{note}} To be used with [[:Template:TestPlan_Test]] and [[:Template:TestPlan_CycleFooter]] only.
{{note}} To be used with [[:Template:TestPlan_Test]] and [[:Template:TestPlan_CycleFooter]] only.
{{note}} In order to count cycles and tests correctly, you MUST include the variable defines Cycle and SubCycle as shown below.
Usage:
Usage:
<pre>
<pre>
{{ #vardefine: Cycle | 0 }}{{ #vardefine: SubCycle | 0 }}
{{TestPlan_CycleHeader
{{TestPlan_CycleHeader
|Cycle=Numeric Cycle (i.e. 1)
|Cycle={{ #vardefineecho: Cycle | {{ #expr: {{ #var: Cycle }} + 1 }} }}{{ #vardefine: SubCycle | {{ #var: Cycle }} }}
|Title=Area being tested in this cycle
|Title=Area being tested in this cycle
|Notes=Any notes or prerequisites for the tests following.
|Notes=Any notes or prerequisites for the tests following.

Revision as of 10:34, 15 August 2011

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

Note Note: In order to count cycles and tests correctly, you MUST include the variable defines Cycle and SubCycle as shown below. Usage:

{{ #vardefine: Cycle | 0 }}{{ #vardefine: SubCycle | 0 }}
{{TestPlan_CycleHeader
|Cycle={{ #vardefineecho: Cycle | {{ #expr: {{ #var: Cycle }} + 1 }} }}{{ #vardefine: SubCycle | {{ #var: Cycle }} }}
|Title=Area being tested in this cycle
|Notes=Any notes or prerequisites for the tests following.
}}
Step Action Result Remarks P/F
{{{Cycle}}} {{{Title}}}      
  {{{Notes}}}