Template:Test case: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (improve explanation, lowercase "Test case") |
||
(35 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> |
<noinclude> |
||
This is the 'Test Case' template. |
|||
{{FULLPAGENAME}} displays information in a certain format and creates semantic annotations with that information for query and reuse. (See [[Test cases 8.2.0]] for one query on the info.) |
|||
[[Category:Semantic infrastructure]] |
|||
It should be called in the following format: |
It should be called in the following format: |
||
<pre> |
<pre> |
||
{{Test |
{{Test case |
||
|testcase_name= |
|testcase_name= |
||
|testcase_category= |
|||
|testcase_subcategory= |
|||
|testcase_stream= |
|testcase_stream= |
||
|testcase_build= |
|||
|testcase_component= |
|testcase_component= |
||
⚫ | |||
|testcase_feature= |
|testcase_feature= |
||
⚫ | |||
|testcase_source= |
|||
|testcase_approach= |
|||
|testcase_tools= |
|testcase_tools= |
||
|testcase_setup= |
|testcase_setup= |
||
Line 21: | Line 23: | ||
Edit the page to see the template text. |
Edit the page to see the template text. |
||
</noinclude><includeonly> |
</noinclude><includeonly> |
||
<div style="padding: 0.5em; |
<div style="padding: 0.5em; border: solid 2px #00B20D; background-color:#00B20D; -moz-border-radius-topleft: 25px; -moz-border-radius-topright: 25px;"> |
||
<center> |
<center> |
||
<font size="+1" |
<font size="+1" color="white">Test case: <span style="color:#fc0; margin-bottom: 5px;">'''[[Short name::{{{testcase_name|}}}]]'''</span></font> |
||
<br/>[[Reporting test results|How to report results]] |
|||
</center> |
</center> |
||
</div> |
</div> |
||
<div style="align: left; margin-top:-1px; padding: 0.5em; |
<div style="align: left; margin-top:-1px; padding: 0.5em; border: solid 2px #00B20D; background-color:white; -moz-border-radius-bottomleft: 25px; -moz-border-radius-bottomright: 25px;"> |
||
{| border="0" cellpadding="4" cellspacing="4" |
{| border="0" cellpadding="4" cellspacing="4" |
||
!width="150"| Stream |
!width="150"| Stream |
||
| {{#arraymap:{{{testcase_stream|}}}|,|x|[[ |
| {{#arraymap:{{{testcase_stream|}}}|,|x|[[Build stream::x]]}} |
||
! Build # |
|||
| {{#arraymap:{{{testcase_build|}}}|,|x|[[Build::x]]}} |
|||
|-valign="top" |
|-valign="top" |
||
! Category |
|||
! Component or<br>Subcomponent |
|||
|[[Test category::{{{testcase_category}}}]] |
|||
! Sub-category |
|||
|[[Test subcategory::{{{testcase_subcategory}}}]] |
|||
|-valign="top" |
|-valign="top" |
||
! Component |
|||
⚫ | |||
|colspan=3|[[ |
|colspan=3|[[System component::{{{testcase_component|}}}]] |
||
|-valign="top" |
|-valign="top" |
||
! Feature |
! Feature |
||
|colspan=3|[[ |
|colspan=3|[[System feature::{{{testcase_feature|}}}]] |
||
|-valign="top" |
|-valign="top" |
||
⚫ | |||
! Source |
|||
|colspan=3|[[ |
|colspan=3|[[Test objective::{{{testcase_objective|}}}]] |
||
|-valign="top" |
|||
! Approach |
|||
|colspan=3|[[Approach::{{{testcase_approach|}}}]] |
|||
|-valign="top" |
|-valign="top" |
||
! Tools |
! Tools |
||
|colspan=3|[[Test |
|colspan=3|[[Test tools::{{{testcase_tools|}}}]] |
||
|-valign="top" |
|-valign="top" |
||
! Setup |
! Setup |
||
|colspan=3|[[Test |
|colspan=3|[[Test setup::{{{testcase_setup|}}}]] |
||
|-valign="top" |
|-valign="top" |
||
! Procedure |
! Procedure |
||
|colspan=3|[[Test |
|colspan=3|[[Test procedure::{{{testcase_procedure|}}}]] |
||
|-valign="top" |
|-valign="top" |
||
! Expected Results<br> and Pass Criteria |
! Expected Results<br> and Pass Criteria |
||
|colspan=3|[[ |
|colspan=3|[[Pass criteria::{{{testcase_expectedresults|}}}]] |
||
|-valign="top" |
|-valign="top" |
||
! Comments |
! Comments |
||
|colspan=3|[[ |
|colspan=3|[[More notes::{{{testcase_comments|}}}]] |
||
|} |
|} |
||
</div> |
</div> |
||
[[Category:Test |
[[Category:Test cases]] |
||
</includeonly> |
</includeonly> |
Latest revision as of 05:28, 28 December 2008
Template:Test case displays information in a certain format and creates semantic annotations with that information for query and reuse. (See Test cases 8.2.0 for one query on the info.)
It should be called in the following format:
{{Test case |testcase_name= |testcase_category= |testcase_subcategory= |testcase_stream= |testcase_component= |testcase_feature= |testcase_objective= |testcase_tools= |testcase_setup= |testcase_procedure= |testcase_expectedresults= |testcase_comments= }}
Edit the page to see the template text.