Template:TestPlan CycleHeader: Difference between revisions
From Vision
No edit summary |
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= | |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. | ||
Line 12: | Line 15: | ||
<table border="1px" width="100%"> | <table border="1px" width="100%"> | ||
<tr> | <tr> | ||
<td bgcolor="silver">'''Step'''</td> | <td bgcolor="silver" width="4%">'''Step'''</td> | ||
<td bgcolor="silver">'''Action'''</td> | <td bgcolor="silver" width="42%">'''Action'''</td> | ||
<td bgcolor="silver">'''Result'''</td> | <td bgcolor="silver" width="25%">'''Result'''</td> | ||
<td bgcolor="silver" width=" | <td bgcolor="silver" width="25%">'''Remarks'''</td> | ||
<td bgcolor="silver" width=" | <td bgcolor="silver" width="4%">'''P/F'''</td> | ||
</tr> | </tr> | ||
<tr> | <tr> |
Revision as of 13:10, 10 October 2011
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:
{{ #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}}} |