Template:Test case: Difference between revisions

From OLPC
Jump to navigation Jump to search
(added component property)
m (improve explanation, lowercase "Test case")
 
(42 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 Case
{{Test case
|testcase_name=
|testcase_name=
|testcase_category=
|testcase_subcategory=
|testcase_stream=
|testcase_stream=
|testcase_build=
|testcase_component=
|testcase_component=
|testcase_objective=
|testcase_feature=
|testcase_feature=
|testcase_objective=
|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; {{#ifeq:{{{clear}}}|true||border: solid 2px #00B20D; background-color:#00B20D; -moz-border-radius-topleft: 25px; -moz-border-radius-topright: 25px;}}">
<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" {{#ifeq:{{{clear}}}|true||color="white"}}>Test Case: <span style="color:#fc0; margin-bottom: 5px;">'''[[Name::{{{testcase_name|}}}]]'''</span></font>
<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; {{#ifeq:{{{clear}}}|true||border: solid 2px #00B20D; background-color:white; -moz-border-radius-bottomleft: 25px; -moz-border-radius-bottomright: 25px;}}">
<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"
! Stream
!width="150"| Stream
| {{#arraymap:{{{testcase_stream|}}}|,|x|[[Stream::x]]}}
| {{#arraymap:{{{testcase_stream|}}}|,|x|[[Build stream::x]]}}
|-valign="top"
! Build #
! Category
| {{#arraymap:{{{testcase_build|}}}|,|x|[[Build::x]]}}
|[[Test category::{{{testcase_category}}}]]
|-
! Sub-category
! Component/Subcomponent
|colspan=3|[[Component::{{{testcase_component|}}}]]
|[[Test subcategory::{{{testcase_subcategory}}}]]
|-valign="top"
|-
! Component
! Objective
|colspan=3|[[Objective::{{{testcase_objective|}}}]]
|colspan=3|[[System component::{{{testcase_component|}}}]]
|-valign="top"
|-
! Feature
! Feature
|colspan=3|[[Feature::{{{testcase_feature|}}}]]
|colspan=3|[[System feature::{{{testcase_feature|}}}]]
|-valign="top"
|-
! Objective
! Source
|colspan=3|[[Source code::{{{testcase_source|}}}]]
|colspan=3|[[Test objective::{{{testcase_objective|}}}]]
|-valign="top"
|-
! Approach
|colspan=3|[[Approach::{{{testcase_approach|}}}]]
|-
! Tools
! Tools
|colspan=3|[[Test Tools::{{{testcase_tools|}}}]]
|colspan=3|[[Test tools::{{{testcase_tools|}}}]]
|-valign="top"
|-
! Setup
! Setup
|colspan=3|[[Test Setup::{{{testcase_setup|}}}]]
|colspan=3|[[Test setup::{{{testcase_setup|}}}]]
|-valign="top"
|-
! Procedure
! Procedure
|colspan=3|[[Test Procedure::{{{testcase_procedure|}}}]]
|colspan=3|[[Test procedure::{{{testcase_procedure|}}}]]
|-valign="top"
|-
! Expected Results and Pass Criteria
! Expected Results<br> and Pass Criteria
|colspan=3|[[Expected Results and Pass Criteria::{{{testcase_expectedresults|}}}]]
|colspan=3|[[Pass criteria::{{{testcase_expectedresults|}}}]]
|-valign="top"
|-
! Comments
! Comments
|colspan=3|[[Comments::{{{testcase_comments|}}}]]
|colspan=3|[[More notes::{{{testcase_comments|}}}]]
|}
|}
</div>
</div>
[[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.