Todo List
Documentation is available at cli.php
#!/usr/bin/php <?php /** * start FIT runner * * $Id: cli.php 13 2007-08-12 19:06:04Z gerd $ */ $baseDir = realpath( dirname( __FILE__ ) . '/../..' ); $incPath = get_include_path() . PATH_SEPARATOR . realpath( $baseDir . '/..' ); set_include_path( $incPath ); if( !class_exists( 'Testing_FIT_Loader', false ) ) { include 'Testing/FIT/Loader.php'; } // tell where to find project fixtures $fitDir = getcwd(); if( isset( $_ENV['TESTING_FIT_FIXTURE_DIR'] ) ) { $fitDir = $_ENV['TESTING_FIT_FIXTURE_DIR']; } Testing_FIT_Loader::addClassDir( $fitDir ); // load and start runner Testing_FIT_Loader::loadClass( 'Testing_FIT_Runner' ); $result = Testing_FIT_Runner::main( $_SERVER['argv'] ); exit( $result ); ?>