Testing_FIT
[ class tree: Testing_FIT ] [ index: Testing_FIT ] [ all elements ]

Source for file cli.php

Documentation is available at cli.php

  1. #!/usr/bin/php
  2. <?php
  3. /**
  4.  * start FIT runner
  5.  * 
  6.  * $Id: cli.php 13 2007-08-12 19:06:04Z gerd $
  7.  */
  8. $baseDir realpathdirname__FILE__ '/../..' );
  9. $incPath get_include_path(. PATH_SEPARATOR . realpath$baseDir '/..' );
  10. set_include_path$incPath );
  11.  
  12. if!class_exists'Testing_FIT_Loader'false ) ) {
  13.     include 'Testing/FIT/Loader.php';
  14. }
  15.  
  16. // tell where to find project fixtures
  17. $fitDir =   getcwd();
  18. ifisset$_ENV['TESTING_FIT_FIXTURE_DIR') ) {
  19.     $fitDir =   $_ENV['TESTING_FIT_FIXTURE_DIR'];
  20. }
  21.  
  22. // load and start runner
  23. Testing_FIT_Loader::loadClass'Testing_FIT_Runner' );
  24. $result =   Testing_FIT_Runner::main$_SERVER['argv');
  25. exit$result );
  26. ?>

Documentation generated on Mon, 11 Mar 2019 15:09:48 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.