Template:Test case: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New page: <noinclude> This is the 'Test Case' template. It should be called in the following format: <pre> {{Test Case |testcase_name= |testcase_stream= |testcase_build= |testcase_objective= |testca...)
 
m (Attempting a reformat of the template output)
Line 20: Line 20:
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;}}">
<center>
<font size="+1" {{#ifeq:{{{clear}}}|true||color="white"}}>Test Case: <span style="color:#fc0; margin-bottom: 5px;">'''[[Name::{{{testcase_name|}}}]]'''</span></font>
</center>
</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;}}">
{| border="0" cellpadding="4" cellspacing="4"
{| border="0" cellpadding="4" cellspacing="4"
! Test Case
| [[Name::{{{testcase_name|}}}]]
|-
! Stream
! Stream
| {{#arraymap:{{{testcase_stream|}}}|,|x|[[Stream::x]]}}
| {{#arraymap:{{{testcase_stream|}}}|,|x|[[Stream::x]]}}
|-
! Build #
! Build #
| {{#arraymap:{{{testcase_build|}}}|,|x|[[Build::x]]}}
| {{#arraymap:{{{testcase_build|}}}|,|x|[[Build::x]]}}
|-
|-
! Objective
! Objective
| [[Objective::{{{testcase_objective|}}}]]
|colspan=3|[[Objective::{{{testcase_objective|}}}]]
|-
|-
! Feature
! Feature
| [[Feature::{{{testcase_feature|}}}]]
|colspan=3|[[Feature::{{{testcase_feature|}}}]]
|-
|-
! Source
! Source
| [[Source code::{{{testcase_source|}}}]]
|colspan=3|[[Source code::{{{testcase_source|}}}]]
|-
|-
! Approach
! Approach
| [[Approach::{{{testcase_approach|}}}]]
|colspan=3|[[Approach::{{{testcase_approach|}}}]]
|-
|-
! Tools
! Tools
| [[Test Tools::{{{testcase_tools|}}}]]
|colspan=3|[[Test Tools::{{{testcase_tools|}}}]]
|-
|-
! Setup
! Setup
| [[Test Setup::{{{testcase_setup|}}}]]
|colspan=3|[[Test Setup::{{{testcase_setup|}}}]]
|-
|-
! Procedure
! Procedure
| [[Test Procedure::{{{testcase_procedure|}}}]]
|colspan=3|[[Test Procedure::{{{testcase_procedure|}}}]]
|-
|-
! Expected Results and Pass Criteria
! Expected Results and Pass Criteria
| [[Expected Results and Pass Criteria::{{{testcase_expectedresults|}}}]]
|colspan=3|[[Expected Results and Pass Criteria::{{{testcase_expectedresults|}}}]]
|-
|-
! Comments
! Comments
| [[Comments::{{{testcase_comments|}}}]]
|colspan=3|[[Comments::{{{testcase_comments|}}}]]
|}
|}
</div>
</includeonly>
</includeonly>

Revision as of 20:16, 18 July 2008

This is the 'Test Case' template. It should be called in the following format:

{{Test Case
|testcase_name=
|testcase_stream=
|testcase_build=
|testcase_objective=
|testcase_feature=
|testcase_source=
|testcase_approach=
|testcase_tools=
|testcase_setup=
|testcase_procedure=
|testcase_expectedresults=
|testcase_comments=
}}

Edit the page to see the template text.