<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/2041/1/7/_/styles/combined.css?spaceKey=TOP&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://wiki.asterisk.org/wiki/display/TOP/Test+Page+Template">Test Page Template</a></h2>
<h4>Page <b>added</b> by <a href="https://wiki.asterisk.org/wiki/display/~khunt">Ken Hunt</a>
</h4>
<br/>
<div class="notificationGreySide">
<p>PAGE TITLE: <Functional Area> Testing</p>
<h3><a name="TestPageTemplate-%3CFeatureorFunctionalArea%3EOverview"></a><Feature or Functional Area> Overview</h3>
<h3><a name="TestPageTemplate-AffectedComponents"></a>Affected Components</h3>
<p>// Enumerate Asterisk SCF components that need to be tested, or involved in the testing.</p>
<h3><a name="TestPageTemplate-ComponentTesting"></a>Component Testing</h3>
<p>// You may just refer to the components Boost.Test unit / component tests. <br/>
// Example...</p>
<ol>
        <li>See unit tests provide with <XYZ> Service under <xyz>/test source tree.</li>
</ol>
<h3><a name="TestPageTemplate-IntegrationTesting"></a>Integration Testing</h3>
<p>// This section is for tests that insure Asterisk SCF components are <br/>
// interoperable with one another, or with some specific external technology<br/>
// or protocol. </p>
<h5><a name="TestPageTemplate-TestMethods"></a>Test Methods</h5>
<p>// Describe any special tools, processes, etc. you will apply to these <br/>
// integration tests. If they are unique to each test, don't bother <br/>
// having this section, but just describe in the table. </p>
<h5><a name="TestPageTemplate-IntegrationTestProcedures"></a>Integration Test Procedures</h5>
<p>// If the list of procedures becomes too big, it can be on it's own page.</p>
<p><b>Test Name:</b> (ex: IntegTest_SipSessionGateway_RtpMedia_01) <br/>
<b>Description:</b><br/>
<b>Components Involved:</b> (List Asterisk SCF components, test components, test devices, etc.) <br/>
<b>Setup:</b> <br/>
<b>Test Steps:</b></p>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Step </th>
<th class='confluenceTh'> Description </th>
<th class='confluenceTh'> Expected Result </th>
</tr>
<tr>
<td class='confluenceTd'> 1. </td>
<td class='confluenceTd'> Start <test artifact Foo> with configuration file foo.bar </td>
<td class='confluenceTd'> Foo starts </td>
</tr>
<tr>
<td class='confluenceTd'> 2. </td>
<td class='confluenceTd'> Start <component> </td>
<td class='confluenceTd'> <component> output shows connection with Foo. </td>
</tr>
<tr>
<td class='confluenceTd'> 3. </td>
<td class='confluenceTd'> Inspect log file for tbd. </td>
<td class='confluenceTd'> Log file contains "abc" if successful. </td>
</tr>
</tbody></table>
</div>
<h3><a name="TestPageTemplate-SystemTesting"></a>System Testing</h3>
<h5><a name="TestPageTemplate-FunctionalTests"></a>Functional Tests</h5>
<p><b>Test Name:</b> (ex: SysTest_Funct_CallWithMedia_01) <br/>
<b>Description:</b> <br/>
<b>Setup:</b> <br/>
<b>Test Steps:</b></p>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Step </th>
<th class='confluenceTh'> Description </th>
<th class='confluenceTh'> Expected Result </th>
</tr>
<tr>
<td class='confluenceTd'> 1. </td>
<td class='confluenceTd'> Start <test artifact Foo> with configuration file foo.bar </td>
<td class='confluenceTd'> Foo starts </td>
</tr>
<tr>
<td class='confluenceTd'> 2. </td>
<td class='confluenceTd'> Start <component> </td>
<td class='confluenceTd'> <component> output shows connection with Foo. </td>
</tr>
<tr>
<td class='confluenceTd'> 3. </td>
<td class='confluenceTd'> Inspect log file for tbd. </td>
<td class='confluenceTd'> Log file contains "abc" if successful. </td>
</tr>
</tbody></table>
</div>
<p>(repeat...) </p>
<h5><a name="TestPageTemplate-PerformanceTests"></a>Performance Tests</h5>
<p><b>Test Name:</b> (ex: SysTest_Perf_SimultaneousCalls_01) <br/>
<b>Description:</b> <br/>
<b>Setup:</b> <br/>
<b>Test Steps:</b></p>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'> Step </th>
<th class='confluenceTh'> Description </th>
<th class='confluenceTh'> Expected Result </th>
</tr>
<tr>
<td class='confluenceTd'> 1. </td>
<td class='confluenceTd'> Start <test artifact Foo> with configuration file foo.bar </td>
<td class='confluenceTd'> Foo starts </td>
</tr>
<tr>
<td class='confluenceTd'> 2. </td>
<td class='confluenceTd'> Start <component> </td>
<td class='confluenceTd'> <component> output shows connection with Foo. </td>
</tr>
<tr>
<td class='confluenceTd'> 3. </td>
<td class='confluenceTd'> Inspect log file for tbd. </td>
<td class='confluenceTd'> Log file contains "abc" if successful. </td>
</tr>
</tbody></table>
</div>
<p>(repeat...) </p>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;">
<a href="https://wiki.asterisk.org/wiki/users/viewnotifications.action" class="grey">Change Notification Preferences</a>
</div>
<a href="https://wiki.asterisk.org/wiki/display/TOP/Test+Page+Template">View Online</a>
|
<a href="https://wiki.asterisk.org/wiki/display/TOP/Test+Page+Template?showComments=true&showCommentArea=true#addcomment">Add Comment</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>