<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/2042/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+Suite">Test Suite</a></h2>
<h4>Page <b>edited</b> by <a href="https://wiki.asterisk.org/wiki/display/~dsessions@digium.com">Darren Sessions</a>
</h4>
<br/>
<h4>Changes (4)</h4>
<div id="page-diffs">
<table class="diff" cellpadding="0" cellspacing="0">
<tr><td class="diff-snipped" >...<br></td></tr>
<tr><td class="diff-unchanged" >* plugins <br> <br></td></tr>
<tr><td class="diff-changed-lines" ><span class="diff-changed-words">h<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">2</span><span class="diff-added-chars"style="background-color: #dfd;">4</span>.Test-Suite</span> Remote <br></td></tr>
<tr><td class="diff-unchanged" >* run <br>* stop <br></td></tr>
<tr><td class="diff-snipped" >...<br></td></tr>
<tr><td class="diff-unchanged" >* cd <br> <br></td></tr>
<tr><td class="diff-changed-lines" ><span class="diff-changed-words">h<span class="diff-deleted-chars"style="color:#999;background-color:#fdd;text-decoration:line-through;">2</span><span class="diff-added-chars"style="background-color: #dfd;">4</span>.Installation</span> <br></td></tr>
<tr><td class="diff-unchanged" >* Ubuntu Maverick (10.10) <br>{expand}{noformat} <br></td></tr>
<tr><td class="diff-changed-lines" >apt-get install build-essential libboost1.40-all-dev liblua5.1-0-dev cmake libmcpp-dev libbz2-dev libdb4.8++-dev mono-gmcs monodevelop mono-xbuild ruby ruby1.8-dev php5-dev libexpat1-dev libssl-dev git-core corosync pacemaker gawk <span class="diff-changed-words">sip-tester<span class="diff-added-chars"style="background-color: #dfd;"> python-yaml</span>{noformat}</span> <br></td></tr>
<tr><td class="diff-unchanged" >{expand} <br></td></tr>
<tr><td class="diff-added-lines" style="background-color: #dfd;"> <br>h2.Bamboo Integration <br> <br>h4.Adding Bamboo User Account <br>* Ubuntu Maverick (10.10) <br>{expand}{noformat} <br>sudo useradd --system --create-home --home-dir /opt/bamboo --shell /bin/bash bamboo <br>{noformat}{expand} <br> <br>h4.Install Remote Agent <br>Add the following settings to the <bamboo-agent-home>/conf/wrapper.conf file. This will help keep the remote agents online when the bamboo server is restarted. <br>{noformat} <br>wrapper.max_failed_invocations=9999 <br>wrapper.startup.delay=30 <br>wrapper.restart.delay=30 <br>{noformat} <br> <br>h4.Starting Remote Agent <br>{noformat} <br> <br>{noformat} <br></td></tr>
</table>
</div> <h4>Full Content</h4>
<div class="notificationGreySide">
<div class='panelMacro'><table class='noteMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/wiki/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>This page is a work in progress</td></tr></table></div>
<h2><a name="TestSuite-Overview"></a>Overview</h2>
<ul>
        <li>Server</li>
        <li>Remote</li>
</ul>
<h2><a name="TestSuite-TestSuiteServer"></a>Test-Suite Server</h2>
<h4><a name="TestSuite-ProcessingLogic"></a>Processing Logic</h4>
<table width="100%">
<tr>
<td align="left">
<table>
<caption align="bottom">
</caption>
<tr>
<td>
<img style="border: none; width: 772px; height: 736px;"
usemap="#GLIFFY_MAP_13076796_testsuite-flow-chart"
src="/wiki/download/attachments/13076796/testsuite-flow-chart.png?version=5&modificationDate=1306165442588"
alt="A&#32;Gliffy&#32;Diagram&#32;named&#58;&#32;testsuite&#45;flow&#45;chart"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
<h4><a name="TestSuite-TestCaseStructure"></a>Test Case Structure</h4>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>name : <unique test name>
options :
network_captures: <'True' or 'False'>
call_flow_diagrams: <'True' or 'False'>
restart_persistant_plugins_between_tests: <'True' or 'False'>
tests :
- <unique subtest name> :
expected_failure : <'True' or 'False'>
timeline:
- <plugin name> :
testsuite_remote : <remote host name>
cmd :
<cmd> : <data structure>
- <unique subtest name> :
expected_failure : <'True' or 'False'>
timeline:
- <plugin name> :
testsuite_remote : <remote host name>
cmd :
<cmd> : <data structure>
</pre>
</div></div>
<h4><a name="TestSuite-TestCaseOptions"></a>Test Case Options</h4>
<ul>
        <li>network_captures</li>
        <li>call_flow_diagrams</li>
        <li>restart_persistant_plugins_between_tests</li>
</ul>
<h4><a name="TestSuite-Tests"></a>Tests</h4>
<ul>
        <li>expected_failure</li>
        <li>timeline</li>
        <li>plugins</li>
</ul>
<h4><a name="TestSuite-TestSuiteRemote"></a>Test-Suite Remote</h4>
<ul>
        <li>run</li>
        <li>stop</li>
        <li>shutdown</li>
        <li>listProcesses</li>
        <li>writeFile</li>
        <li>cd</li>
</ul>
<h4><a name="TestSuite-Installation"></a>Installation</h4>
<ul>
        <li>Ubuntu Maverick (10.10)
<style type="text/css">
@media all {
.expand-content { margin-left: 20px; }
.expand-control-icon { display: inline-block; width: 20px; }
.expand-control-text { vertical-align: top; text-decoration:none; }
.expand-control-image { vertical-align: middle; text-decoration:none; }
}
@media screen {
.expand-hidden { display: none; }
.expand-control { cursor: pointer; text-decoration: none; }
}
@media print {
/* show expander text in print */
.expand-content { display: block !important; }
}
</style>
<div id="expander-1246283234" class="expand-control" tabindex="0"><span class="expand-control-icon"><img class="expand-control-image" src="/wiki/images/icons/arrow_down.png"></span><span class="expand-control-text">Click here to expand...</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>apt-get install build-essential libboost1.40-all-dev liblua5.1-0-dev cmake libmcpp-dev libbz2-dev libdb4.8++-dev mono-gmcs monodevelop mono-xbuild ruby ruby1.8-dev php5-dev libexpat1-dev libssl-dev git-core corosync pacemaker gawk sip-tester python-yaml</pre>
</div></div></div>
</li>
</ul>
<h2><a name="TestSuite-BambooIntegration"></a>Bamboo Integration</h2>
<h4><a name="TestSuite-AddingBambooUserAccount"></a>Adding Bamboo User Account</h4>
<ul>
        <li>Ubuntu Maverick (10.10)
<style type="text/css">
@media all {
.expand-content { margin-left: 20px; }
.expand-control-icon { display: inline-block; width: 20px; }
.expand-control-text { vertical-align: top; text-decoration:none; }
.expand-control-image { vertical-align: middle; text-decoration:none; }
}
@media screen {
.expand-hidden { display: none; }
.expand-control { cursor: pointer; text-decoration: none; }
}
@media print {
/* show expander text in print */
.expand-content { display: block !important; }
}
</style>
<div id="expander-585966807" class="expand-control" tabindex="0"><span class="expand-control-icon"><img class="expand-control-image" src="/wiki/images/icons/arrow_down.png"></span><span class="expand-control-text">Click here to expand...</span></div>
<div class="expand-content"><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>sudo useradd --system --create-home --home-dir /opt/bamboo --shell /bin/bash bamboo
</pre>
</div></div></div>
</li>
</ul>
<h4><a name="TestSuite-InstallRemoteAgent"></a>Install Remote Agent</h4>
<p>Add the following settings to the <bamboo-agent-home>/conf/wrapper.conf file. This will help keep the remote agents online when the bamboo server is restarted.</p>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>wrapper.max_failed_invocations=9999
wrapper.startup.delay=30
wrapper.restart.delay=30
</pre>
</div></div>
<h4><a name="TestSuite-StartingRemoteAgent"></a>Starting Remote Agent</h4>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>
</pre>
</div></div>
</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+Suite">View Online</a>
|
<a href="https://wiki.asterisk.org/wiki/pages/diffpagesbyversion.action?pageId=13076796&revisedVersion=13&originalVersion=12">View Changes</a>
|
<a href="https://wiki.asterisk.org/wiki/display/TOP/Test+Suite?showComments=true&showCommentArea=true#addcomment">Add Comment</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>