Template:Test case: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
m (improve explanation, lowercase "Test case")
 
(23 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>

This is the 'Test Case' template.
It displays information in a certain format and creates semantic annotations with that information for query and reuse. (See [[Test cases 8.2.0]] for a query on the info.)
{{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]]
[[Category:Semantic infrastructure]]


Line 8: Line 8:
{{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_tools=
|testcase_tools=
|testcase_setup=
|testcase_setup=
Line 24: Line 25:
<div style="padding: 0.5em; 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" 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>
Line 30: Line 32:
{| border="0" cellpadding="4" cellspacing="4"
{| border="0" cellpadding="4" cellspacing="4"
!width="150"| 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
|[[Test subcategory::{{{testcase_subcategory}}}]]
|-valign="top"
|-valign="top"
! Component or<br>Subcomponent
! Component
|colspan=3|[[System component::{{{testcase_component|}}}]]
|colspan=3|[[System component::{{{testcase_component|}}}]]
|-valign="top"
|-valign="top"
! Feature
! Feature
|colspan=3|[[Feature::{{{testcase_feature|}}}]]
|colspan=3|[[System feature::{{{testcase_feature|}}}]]
|-valign="top"
|-valign="top"
! Objective
! Objective
|colspan=3|[[Objective::{{{testcase_objective|}}}]]
|colspan=3|[[Test objective::{{{testcase_objective|}}}]]
|-valign="top"
|-valign="top"
! Tools
! Tools
|colspan=3|[[Test Tools::{{{testcase_tools|}}}]]
|colspan=3|[[Test tools::{{{testcase_tools|}}}]]
|-valign="top"
|-valign="top"
! Setup
! Setup
|colspan=3|[[Test Setup::{{{testcase_setup|}}}]]
|colspan=3|[[Test setup::{{{testcase_setup|}}}]]
|-valign="top"
|-valign="top"
! Procedure
! Procedure
|colspan=3|[[Test Procedure::{{{testcase_procedure|}}}]]
|colspan=3|[[Test procedure::{{{testcase_procedure|}}}]]
|-valign="top"
|-valign="top"
! Expected Results<br> and Pass Criteria
! Expected Results<br> and Pass Criteria
Line 56: Line 61:
|-valign="top"
|-valign="top"
! Comments
! Comments
|colspan=3|[[Comments::{{{testcase_comments|}}}]]
|colspan=3|[[More notes::{{{testcase_comments|}}}]]
|}
|}
</div>
</div>

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.