Template:Test case: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
m (Reverted edits by Femslade (Talk); changed back to last version by Skierpage)
Line 9: Line 9:
|testcase_name=
|testcase_name=
|testcase_stream=
|testcase_stream=
|testcase_build=
|testcase_component=
|testcase_component=
|testcase_objective=
|testcase_objective=
Line 23: Line 24:
<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;">'''[[Short name::{{{testcase_name|}}}]]'''</span></font>
<font size="+1" color="white">Test Case: <span style="color:#fc0; margin-bottom: 5px;">'''[[Name::{{{testcase_name|}}}]]'''</span></font>
</center>
</center>
</div>
</div>
Line 29: Line 30:
{| border="0" cellpadding="4" cellspacing="4"
{| border="0" cellpadding="4" cellspacing="4"
!width="150"| Stream
!width="150"| Stream
| {{#arraymap:{{{testcase_stream|}}}|,|x|[[Build stream::x]]}}
| {{#arraymap:{{{testcase_stream|}}}|,|x|[[Stream::x]]}}
! Build #
| {{#arraymap:{{{testcase_build|}}}|,|x|[[Build::x]]}}
|-valign="top"
! Component or<br>Subcomponent
|colspan=3|[[Tests component::{{{testcase_component|}}}]]
|-valign="top"
|-valign="top"
! Component
|colspan=3|[[System component::{{{testcase_component|}}}]]
! Feature
! Feature
|colspan=3|[[System feature::{{{testcase_feature|}}}]]
|colspan=3|[[Feature::{{{testcase_feature|}}}]]
|-valign="top"
|-valign="top"
! Objective
! Objective
|colspan=3|[[Test objective::{{{testcase_objective|}}}]]
|colspan=3|[[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
|colspan=3|[[Pass criteria::{{{testcase_expectedresults|}}}]]
|colspan=3|[[Expected Results and Pass Criteria::{{{testcase_expectedresults|}}}]]
|-valign="top"
|-valign="top"
! Comments
! Comments

Revision as of 21:21, 5 August 2008

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.)

It should be called in the following format:

{{Test case
|testcase_name=
|testcase_stream=
|testcase_build=
|testcase_component=
|testcase_objective=
|testcase_feature=
|testcase_tools=
|testcase_setup=
|testcase_procedure=
|testcase_expectedresults=
|testcase_comments=
}}

Edit the page to see the template text.