From Fedora Project Wiki

No edit summary
No edit summary
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>
{{tempdoc}}
</noinclude>
= Description =
= Description =
{{{description|A brief description of the functionality being tested.}}}
{{{description|A brief description of the functionality being tested.}}}
 
<noinclude>
= Setup ''(optional)'' =
Optionally provide instructions to prepare the test environment.
</noinclude>
{{#if: {{{setup|}}}|= Setup =
{{{setup}}}|}}
= How to test =
= How to test =
<noinclude>
<noinclude>
Line 7: Line 15:
</noinclude>
</noinclude>
{{{actions|
{{{actions|
# First step, install and configure Prerequisites:
# Start here ...
#: <pre>
# Next do this ...
#: # Java OpenJDK  needs to be installed
# Finally click that}}}
#:    $ yum install java-1.6.0-openjdk
#: # An LDAP server instance needs to be configured.  
#: # For that,use Directory Server '389-ds' which is already in Fedora.
#:    $ yum install 389-ds-base
#: # Once install is finished, to create an instance, run the below script
#: # and accept all the defaults for a typical setup, and configure the instance
#:    $ /usr/sbin/setup-ds.pl
#:
# Next, create test trees on the server
#: <pre>
#: git clone git://fedorapeople.org/~steved/cthon04
#: cd cthon04
#: ./runcthon --mkdirs /nfs</pre>}}}


= Expected Results =
= Expected Results =
Line 32: Line 27:
# Step #1 completes without error
# Step #1 completes without error
# The system boots into runlevel 5
# The system boots into runlevel 5
# Program completes wth exit code 0 }}}
# Program completes with exit code 0 }}}
 
<noinclude>
= Optional ''(optional)'' =
Optionally provide hints for exploratory testing.
</noinclude>
{{#if: {{{optional|}}}|= Optional =
{{{optional}}}|}}
__NOEDITSECTION__
__NOEDITSECTION__
<noinclude>  
<noinclude>  
{{tempdoc}}
[[Category:Test_Cases]]
[[Category:Test_Cases]]
[[Category:QA Templates]]
[[Category:QA Templates]]
</noinclude>
</noinclude>

Revision as of 15:32, 4 December 2012

Template documentation [edit]

This documentation is transcluded from Template:QA/Test Case/doc. It will not be transcluded on pages that use this template.

You'll want to use this template as follows:

{{QA/Test_Case
|description=This test case ensures that the disk drive(s) are properly dismounted when Fedora is being shut down or when a Reboot is done.
|setup=Install the pre-release version of Fedora that is to be tested on a bare metal system using the default Anaconda settings except to reclaim all disk space in the process.
|actions=
Be as specific as required for the target audience. 
# Start here ...
# Next do this ...
# Finally click that
|results=
The following must be true to consider this a successful test run. Be brief ... but explicit. 
# Step #1 completes without error
# The system boots into runlevel 5
# Program completes with exit code 0
|optional=Optionally provide hints for exploratory testing.
}}
This will result in the example page shown below. Please read QA:SOP test case creation to see how to properly write a test case and categorize it.

Description

A brief description of the functionality being tested.

Setup (optional)

Optionally provide instructions to prepare the test environment.


How to test

Be as specific as required for the target audience.


  1. Start here ...
  2. Next do this ...
  3. Finally click that

Expected Results

The following must be true to consider this a successful test run. Be brief ... but explicit.


  1. Step #1 completes without error
  2. The system boots into runlevel 5
  3. Program completes with exit code 0

Optional (optional)

Optionally provide hints for exploratory testing.