Template:Test case: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
m (improve explanation, lowercase "Test case")
 
(30 intermediate revisions by 6 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 23: 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 29: 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]]}}
! Build #
| {{#arraymap:{{{testcase_build|}}}|,|x|[[Build::x]]}}
|-valign="top"
|-valign="top"
! Category
! Component or<br>Subcomponent
|colspan=3|[[Component::{{{testcase_component|}}}]]
|[[Test category::{{{testcase_category}}}]]
! Sub-category
|[[Test subcategory::{{{testcase_subcategory}}}]]
|-valign="top"
|-valign="top"
! Component
! Objective
|colspan=3|[[Objective::{{{testcase_objective|}}}]]
|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
! Source
|colspan=3|[[Source code::{{{testcase_source|}}}]]
|colspan=3|[[Test objective::{{{testcase_objective|}}}]]
|-valign="top"
! Approach
|colspan=3|[[Summary::{{{testcase_approach|}}}]]
|-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
|colspan=3|[[Expected Results and Pass Criteria::{{{testcase_expectedresults|}}}]]
|colspan=3|[[Pass criteria::{{{testcase_expectedresults|}}}]]
|-valign="top"
|-valign="top"
! Comments
! Comments
|colspan=3|[[Comments::{{{testcase_comments|}}}]]
|colspan=3|[[More notes::{{{testcase_comments|}}}]]
|}
|}
</div>
</div>
[[Category:Test Case]]
[[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.