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 6 2007-06-06 07:37:36Z gerd $
  7.  */
  8.  
  9. // tell where to find project fixtures
  10. $fitDir =   getcwd();
  11. ifisset$_ENV['TESTING_FIT_FIXTURE_DIR') ) {
  12.     $fitDir =   $_ENV['TESTING_FIT_FIXTURE_DIR'];
  13. }
  14.  
  15. define'TESTING_FIT_FIXTURE_DIR'$fitDir );
  16.  
  17. $baseDir realpathdirname__FILE__ '/../..' );
  18. $incPath get_include_path(. PATH_SEPARATOR . realpath$baseDir '/..' );
  19. set_include_path$incPath );
  20.  
  21. include_once 'Testing/FIT/Runner.php';
  22. $result =   Testing_FIT_Runner::main$_SERVER['argv');
  23. exit$result );
  24. ?>

Documentation generated on Mon, 11 Mar 2019 14:44:18 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.