PHP on T R A X
Rapid Application Development Made Easy

root/trunk/trax/doc/li_PHPonTraxTest.html

Revision 199, 10.4 kB (checked in by haas, 3 years ago)

many fixes, documentation improvements

Line 
1 <html>
2 <head>
3 <title>PHP On Trax Test</title>
4 <link rel="stylesheet" type="text/css" href="media/style.css">
5 </head>
6 <body>
7
8 <table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
9   <tr>
10     <td class="header_top">PHPonTraxTest</td>
11   </tr>
12   <tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
13   <tr>
14     <td class="header_menu">
15           [ <a href="classtrees_PHPonTraxTest.html" class="menu">class tree: PHPonTraxTest</a> ]
16           [ <a href="elementindex_PHPonTraxTest.html" class="menu">index: PHPonTraxTest</a> ]
17           [ <a href="elementindex.html" class="menu">all elements</a> ]
18     </td>
19   </tr>
20   <tr><td class="header_line"><img src="media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
21 </table>
22
23 <table width="100%" border="0" cellpadding="0" cellspacing="0">
24   <tr valign="top">
25     <td width="200" class="menu">
26     <div id="todolist">
27             <p><a href="todolist.html">Todo List</a></p>
28     </div>
29       <b>Packages:</b><br />
30               <a href="li_PHPonTrax.html">PHPonTrax</a><br />
31               <a href="li_PHPonTraxTest.html">PHPonTraxTest</a><br />
32             <br /><br />
33         <b>Tutorials/Manuals:</b><br />
34                     <strong>Package-level:</strong>
35                             <ul>
36     <li type="square"><a href="PHPonTraxTest/tutorial_PHPonTraxTest.pkg.html">PHP On Trax Test</a>
37 </ul>
38
39                                                             <b>Files:</b><br />
40           <div class="package">
41             <a href="PHPonTraxTest/_test_ActionControllerErrorTest_php.html">       ActionControllerErrorTest.php
42         </a><br>
43             <a href="PHPonTraxTest/_test_ActionControllerTest_php.html">        ActionControllerTest.php
44         </a><br>
45             <a href="PHPonTraxTest/_test_ActionMailerTest_php.html">        ActionMailerTest.php
46         </a><br>
47             <a href="PHPonTraxTest/_test_mockActionController_action_controller_php.html">      action_controller.php
48         </a><br>
49             <a href="PHPonTraxTest/_test_ActiveRecordErrorTest_php.html">       ActiveRecordErrorTest.php
50         </a><br>
51             <a href="PHPonTraxTest/_test_ActiveRecordHelperTest_php.html">      ActiveRecordHelperTest.php
52         </a><br>
53             <a href="PHPonTraxTest/_test_ActiveRecordTest_php.html">        ActiveRecordTest.php
54         </a><br>
55             <a href="PHPonTraxTest/_test_mockActiveRecord_active_record_php.html">      active_record.php
56         </a><br>
57             <a href="PHPonTraxTest/_test_controllers_application_php.html">     application.php
58         </a><br>
59             <a href="PHPonTraxTest/_test_ApplicationControllerTest_php.html">       ApplicationControllerTest.php
60         </a><br>
61             <a href="PHPonTraxTest/_test_ApplicationMailerTest_php.html">       ApplicationMailerTest.php
62         </a><br>
63             <a href="PHPonTraxTest/_test_AssetTagHelperTest_php.html">      AssetTagHelperTest.php
64         </a><br>
65             <a href="PHPonTraxTest/_test_controllers_catalog_controller_php.html">      catalog_controller.php
66         </a><br>
67             <a href="PHPonTraxTest/_test_DateHelperTest_php.html">      DateHelperTest.php
68         </a><br>
69             <a href="PHPonTraxTest/_test_mockDB_DB_php.html">       DB.php
70         </a><br>
71             <a href="PHPonTraxTest/_test_DispatcherTest_php.html">      DispatcherTest.php
72         </a><br>
73             <a href="PHPonTraxTest/_test_FormHelperTest_php.html">      FormHelperTest.php
74         </a><br>
75             <a href="PHPonTraxTest/_test_FormOptionsHelperTest_php.html">       FormOptionsHelperTest.php
76         </a><br>
77             <a href="PHPonTraxTest/_test_FormTagHelperTest_php.html">       FormTagHelperTest.php
78         </a><br>
79             <a href="PHPonTraxTest/_test_HelpersTest_php.html">     HelpersTest.php
80         </a><br>
81             <a href="PHPonTraxTest/_test_InflectorTest_php.html">       InflectorTest.php
82         </a><br>
83             <a href="PHPonTraxTest/_test_InputFilterTest_php.html">     InputFilterTest.php
84         </a><br>
85             <a href="PHPonTraxTest/_test_JavaScriptHelperTest_php.html">        JavaScriptHelperTest.php
86         </a><br>
87             <a href="PHPonTraxTest/_test_controllers_noclass_controller_php.html">      noclass_controller.php
88         </a><br>
89             <a href="PHPonTraxTest/_test_RouterTest_php.html">      RouterTest.php
90         </a><br>
91             <a href="PHPonTraxTest/_test_config_routes_php.html">       routes.php
92         </a><br>
93             <a href="PHPonTraxTest/_test_runtests_php.html">        runtests.php
94         </a><br>
95             <a href="PHPonTraxTest/_test_ScaffoldControllerTest_php.html">      ScaffoldControllerTest.php
96         </a><br>
97             <a href="PHPonTraxTest/_test_SessionTest_php.html">     SessionTest.php
98         </a><br>
99             <a href="PHPonTraxTest/_test_testenv_php.html">     testenv.php
100         </a><br>
101             <a href="PHPonTraxTest/_test_TraxErrorTest_php.html">       TraxErrorTest.php
102         </a><br>
103             <a href="PHPonTraxTest/_test_TraxGeneratorTest_php.html">       TraxGeneratorTest.php
104         </a><br>
105             <a href="PHPonTraxTest/_test_UrlHelperTest_php.html">       UrlHelperTest.php
106         </a><br>
107       </div><br />
108      
109             <b>Classes:</b><br />
110         <div class="package">
111                     <a href="PHPonTraxTest/ActionController.html">ActionController</a><br />
112                 <a href="PHPonTraxTest/ActionControllerErrorTest.html">ActionControllerErrorTest</a><br />
113                 <a href="PHPonTraxTest/ActionControllerTest.html">ActionControllerTest</a><br />
114                 <a href="PHPonTraxTest/ActionMailerTest.html">ActionMailerTest</a><br />
115                 <a href="PHPonTraxTest/ActiveRecord.html">ActiveRecord</a><br />
116                 <a href="PHPonTraxTest/ActiveRecordErrorTest.html">ActiveRecordErrorTest</a><br />
117                 <a href="PHPonTraxTest/ActiveRecordHelperTest.html">ActiveRecordHelperTest</a><br />
118                 <a href="PHPonTraxTest/ActiveRecordTest.html">ActiveRecordTest</a><br />
119                 <a href="PHPonTraxTest/ApplicationControllerTest.html">ApplicationControllerTest</a><br />
120                 <a href="PHPonTraxTest/ApplicationMailerTest.html">ApplicationMailerTest</a><br />
121                 <a href="PHPonTraxTest/AssetTagHelperTest.html">AssetTagHelperTest</a><br />
122                 <a href="PHPonTraxTest/CatalogController.html">CatalogController</a><br />
123                 <a href="PHPonTraxTest/DataType.html">DataType</a><br />
124                 <a href="PHPonTraxTest/DateHelperTest.html">DateHelperTest</a><br />
125                 <a href="PHPonTraxTest/DB.html">DB</a><br />
126                 <a href="PHPonTraxTest/DB_common.html">DB_common</a><br />
127                 <a href="PHPonTraxTest/DB_Error.html">DB_Error</a><br />
128                 <a href="PHPonTraxTest/DB_find_all_result.html">DB_find_all_result</a><br />
129                 <a href="PHPonTraxTest/DB_mysql.html">DB_mysql</a><br />
130                 <a href="PHPonTraxTest/DB_result.html">DB_result</a><br />
131                 <a href="PHPonTraxTest/DB_row.html">DB_row</a><br />
132                 <a href="PHPonTraxTest/DispatcherTest.html">DispatcherTest</a><br />
133                 <a href="PHPonTraxTest/DummyController.html">DummyController</a><br />
134                 <a href="PHPonTraxTest/ExDateHelper.html">ExDateHelper</a><br />
135                 <a href="PHPonTraxTest/ExtHelpers.html">ExtHelpers</a><br />
136                 <a href="PHPonTraxTest/FormHelperTest.html">FormHelperTest</a><br />
137                 <a href="PHPonTraxTest/FormOptionsHelperTest.html">FormOptionsHelperTest</a><br />
138                 <a href="PHPonTraxTest/FormTagHelperTest.html">FormTagHelperTest</a><br />
139                 <a href="PHPonTraxTest/HelpersTest.html">HelpersTest</a><br />
140                 <a href="PHPonTraxTest/InflectorTest.html">InflectorTest</a><br />
141                 <a href="PHPonTraxTest/InputFilterTest.html">InputFilterTest</a><br />
142                 <a href="PHPonTraxTest/JavaScriptHelperTest.html">JavaScriptHelperTest</a><br />
143                 <a href="PHPonTraxTest/PersonName.html">PersonName</a><br />
144                 <a href="PHPonTraxTest/RouterTest.html">RouterTest</a><br />
145                 <a href="PHPonTraxTest/ScaffoldControllerTest.html">ScaffoldControllerTest</a><br />
146                 <a href="PHPonTraxTest/SessionTest.html">SessionTest</a><br />
147                 <a href="PHPonTraxTest/TraxErrorTest.html">TraxErrorTest</a><br />
148                 <a href="PHPonTraxTest/TraxGeneratorTest.html">TraxGeneratorTest</a><br />
149                 <a href="PHPonTraxTest/UrlHelperTest.html">UrlHelperTest</a><br />
150       </div>
151                 </td>
152     <td>
153       <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
154
155 <table width="100%" border="0" cellpadding="0" cellspacing="0">
156 <tr>
157 <td width="10%" align="left" valign="bottom"><a href=
158 "PHPonTrax/tutorial_ApplicationMailer.cls.html">Prev</a></td>
159 <td width="80%" align="center" valign="bottom"></td>
160 <td width="10%" align="right" valign="bottom">Next</td>
161 </tr>
162 </table>
163 <div><a name="rails_examples."></a><div class="ref-title-box">PHP On Trax Test<h1 class="ref-title">PHP On Trax Test</h1>
164   <h2 class="ref-purpose">Regression test of the PHPonTrax package</h2></div>
165  <div class="ref-synopsis"><span class="author">Walt Haas
166    <div class="author-blurb"><a href="mailto:haas@xmission.com">haas@xmission.com</a></div></span></div>
167  <h1 align="center">Table of Contents</h1>
168 <ul>
169
170 <a href="PHPonTraxTest/tutorial_PHPonTraxTest.pkg.html#rails_examples.intro">Introduction</a><br />
171 </ul>
172
173  <span><a name="rails_examples.intro"></a><h2 class="title">Introduction</h2><p>This directory contains a collection of unit tests for the Trax
174 package.  To run these tests, you must have PHP available to run from
175 your command line (not just your web server).  The tests are run using
176 PHPUnit2.
177
178 PHPUnit2 is a standard part of the PEAR library (http://pear.php.net).
179 You can install PHPUnit2 on your system using pear with the command:
180
181  pear install PHPUnit2
182
183 The documentation for PHPUnit2 is at
184 http://pear.php.net/package/PHPUnit2
185
186 These tests do not require any of the other additional packages that
187 you may see mentioned in messages from the installation of PHPUnit2.
188
189 With PHPUnit2 installed on your system, connect to this
190 directory and type
191
192  php runtests.php
193
194 on the command line.  All tests will be run automatically.
195 (on Linux and other Unix-like systems, you can type ./runtests.php)
196
197 Or you can run a single test, for example the test of the ActiveRecord
198 class, from the command line:
199
200  phpunit ActiveRecord
201
202 (on Linux and other Unix-like systems, you can type ./ActiveRecord.php)</p></span></div>
203 <table width="100%" border="0" cellpadding="0" cellspacing="0">
204 <tr>
205 <td width="33%" align="left" valign="top"><a href="PHPonTrax/tutorial_ApplicationMailer.cls.html">Prev</a></td>
206 <td width="34%" align="center" valign="top">&nbsp;</td>
207 <td width="33%" align="right" valign="top">Next</td>
208 </tr>
209
210 <tr>
211 <td width="33%" align="left" valign="top">ApplicationMailer</td>
212 <td width="34%" align="center" valign="top"></td>
213 <td width="33%" align="right" valign="top"></td>
214 </tr>
215 </table>
216         <div class="credit">
217             <hr />
218             Documentation generated on Thu, 04 May 2006 19:46:56 -0600 by <a href="http://www.phpdoc.org">phpDocumentor 1.3.0RC4</a>
219           </div>
220       </td></tr></table>
221     </td>
222   </tr>
223 </table>
224
225 </body>
226 </html>
Note: See TracBrowser for help on using the browser.