<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../../../../doc/otp_doc.css" type="text/css"> <title>Erlang -- Running Test Suites</title> </head> <body bgcolor="white" text="#000000" link="#0000ff" vlink="#ff00ff" alink="#ff0000"><div id="container"> <script id="js" type="text/javascript" language="JavaScript" src="../../../../doc/js/flipmenu/flipmenu.js"></script><script id="js2" type="text/javascript" src="../../../../doc/js/erlresolvelinks.js"></script><script language="JavaScript" type="text/javascript"> <!-- function getWinHeight() { var myHeight = 0; if( typeof( window.innerHeight ) == 'number' ) { //Non-IE myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myHeight = document.body.clientHeight; } return myHeight; } function setscrollpos() { var objf=document.getElementById('loadscrollpos'); document.getElementById("leftnav").scrollTop = objf.offsetTop - getWinHeight()/2; } function addEvent(obj, evType, fn){ if (obj.addEventListener){ obj.addEventListener(evType, fn, true); return true; } else if (obj.attachEvent){ var r = obj.attachEvent("on"+evType, fn); return r; } else { return false; } } addEvent(window, 'load', setscrollpos); //--></script><div id="leftnav"><div class="innertube"> <img alt="Erlang logo" src="../../../../doc/erlang-logo.png"><br><small><a href="users_guide.html">User's Guide</a><br><a href="index.html">Reference Manual</a><br><a href="release_notes.html">Release Notes</a><br><a href="../pdf/test_server-3.3.6.pdf">PDF</a><br><a href="../../../../doc/index.html">Top</a></small><p><strong>Test Server</strong><br><strong>User's Guide</strong><br><small>Version 3.3.6</small></p> <br><a href="javascript:openAllFlips()">Expand All</a><br><a href="javascript:closeAllFlips()">Contract All</a><p><small><strong>Chapters</strong></small></p> <ul class="flipMenu" imagepath="../../../../doc/js/flipmenu"> <li id="no" title="Test Server Basics" expanded="false">Test Server Basics<ul> <li><a href="basics_chapter.html"> Top of chapter </a></li> <li title="Introduction"><a href="basics_chapter.html#id2254138">Introduction</a></li> <li title="Getting started"><a href="basics_chapter.html#id2254149">Getting started</a></li> <li title="Definition of terms"><a href="basics_chapter.html#id2252509">Definition of terms</a></li> </ul> </li> <li id="no" title="Test Structure and Test Specifications" expanded="false">Test Structure and Test Specifications<ul> <li><a href="test_spec_chapter.html"> Top of chapter </a></li> <li title="Test structure"><a href="test_spec_chapter.html#id2259246">Test structure</a></li> <li title="Test specifications"><a href="test_spec_chapter.html#id2259260">Test specifications</a></li> <li title="Test Specification Files"><a href="test_spec_chapter.html#id2259324">Test Specification Files</a></li> <li title="Configuration cases"><a href="test_spec_chapter.html#id2260954">Configuration cases</a></li> <li title="The parallel property and nested configuration cases"><a href="test_spec_chapter.html#id2252923">The parallel property and nested configuration cases</a></li> <li title="Repeated execution of test cases"><a href="test_spec_chapter.html#id2260294">Repeated execution of test cases</a></li> <li title="Shuffled test case order"><a href="test_spec_chapter.html#id2252649">Shuffled test case order</a></li> <li title="Skipping test cases"><a href="test_spec_chapter.html#id2260502">Skipping test cases</a></li> </ul> </li> <li id="no" title="Writing Test Suites" expanded="false">Writing Test Suites<ul> <li><a href="write_test_chapter.html"> Top of chapter </a></li> <li title="Support for test suite authors"><a href="write_test_chapter.html#id2260641">Support for test suite authors</a></li> <li title="Test suites"><a href="write_test_chapter.html#id2258508">Test suites</a></li> <li title="Init per test case"><a href="write_test_chapter.html#id2258547">Init per test case</a></li> <li title="Test cases"><a href="write_test_chapter.html#id2258628">Test cases</a></li> <li title="Data and Private Directories"><a href="write_test_chapter.html#id2258790">Data and Private Directories</a></li> <li title="Execution environment"><a href="write_test_chapter.html#id2258859">Execution environment</a></li> </ul> </li> <li id="loadscrollpos" title="Running Test Suites" expanded="true">Running Test Suites<ul> <li><a href="run_test_chapter.html"> Top of chapter </a></li> <li title="Using the test server controller"><a href="run_test_chapter.html#id2254868">Using the test server controller</a></li> </ul> </li> <li id="no" title="Write you own test server framework" expanded="false">Write you own test server framework<ul> <li><a href="write_framework_chapter.html"> Top of chapter </a></li> <li title="Introduction"><a href="write_framework_chapter.html#id2254960">Introduction</a></li> <li title="Interfacing the test server controller from Erlang"><a href="write_framework_chapter.html#id2254982">Interfacing the test server controller from Erlang</a></li> <li title="Interfacing the test server controller from the operating system."><a href="write_framework_chapter.html#id2255106">Interfacing the test server controller from the operating system.</a></li> <li title="Framework callback functions"><a href="write_framework_chapter.html#id2255227">Framework callback functions</a></li> <li title="Other concerns"><a href="write_framework_chapter.html#id2255262">Other concerns</a></li> </ul> </li> <li id="no" title="Examples" expanded="false">Examples<ul> <li><a href="example_chapter.html"> Top of chapter </a></li> <li title="Test suite"><a href="example_chapter.html#id2256943">Test suite</a></li> <li title="Test specification file"><a href="example_chapter.html#id2257007">Test specification file</a></li> </ul> </li> </ul> </div></div> <div id="content"> <div class="innertube"> <h1>4 Running Test Suites</h1> <h3><a name="id2254868">4.1 Using the test server controller</a></h3> <p>The test server controller provides a low level interface to all the Test Server functionality. It is possible to use this interface directly, but it is recommended to use a framework such as <strong>Common Test</strong> instead. If no existing framework suits your needs, you could of course build your own on top of the test server controller. Some information about how to do this can be found in the section named "Writing you own test server framework" in the Test Server User's Guide. </p> <p>For information about using the controller directly, please see all available functions in the reference manual for <span class="code">test_server_ctrl</span>. </p> </div> <div class="footer"> <hr> <p>Copyright © 2002-2010 Ericsson AB. All Rights Reserved.</p> </div> </div> </div></body> </html>