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

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