[ Index ] |
|
Code source de PHPonTrax 2.6.6-svn |
1 <refentry id="{@id}" revision="$Id: PHPonTraxTest.pkg 192 2006-03-27 22:02:53Z haas $"> 2 <refnamediv> 3 <refname>PHP On Trax Test</refname> 4 <refpurpose>Regression test of the PHPonTrax package</refpurpose> 5 </refnamediv> 6 <refsynopsisdiv> 7 <author> 8 Walt Haas 9 <authorblurb> 10 {@link mailto:haas@xmission.com haas@xmission.com} 11 </authorblurb> 12 </author> 13 </refsynopsisdiv> 14 {@toc} 15 <refsect1 id="{@id intro}"> 16 <title>Introduction</title> 17 <para> 18 This directory contains a collection of unit tests for the Trax 19 package. To run these tests, you must have PHP available to run from 20 your command line (not just your web server). The tests are run using 21 PHPUnit2. 22 23 PHPUnit2 is a standard part of the PEAR library (http://pear.php.net). 24 You can install PHPUnit2 on your system using pear with the command: 25 26 pear install PHPUnit2 27 28 The documentation for PHPUnit2 is at 29 http://pear.php.net/package/PHPUnit2 30 31 These tests do not require any of the other additional packages that 32 you may see mentioned in messages from the installation of PHPUnit2. 33 34 With PHPUnit2 installed on your system, connect to this 35 directory and type 36 37 php runtests.php 38 39 on the command line. All tests will be run automatically. 40 (on Linux and other Unix-like systems, you can type ./runtests.php) 41 42 Or you can run a single test, for example the test of the ActiveRecord 43 class, from the command line: 44 45 phpunit ActiveRecord 46 47 (on Linux and other Unix-like systems, you can type ./ActiveRecord.php) 48 </para> 49 </refsect1> 50 <!-- 51 Local variables: 52 mode: xml 53 c-basic-offset: 1 54 indent-tabs-mode: nil 55 End: 56 --> 57 </refentry>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 20:04:38 2007 | par Balluche grâce à PHPXref 0.7 |