CodeView

PHPUnit test harness for Komodo

base_debug.php

<?php
 
    /**
     * @author  Michael Heim
     * @link    http://www.zeilenwechsel.de/
     * @version 1.2.0
     * @license http://www.zeilenwechsel.de/it/code/browse/komodo-phpunit-harness/prod/license.txt
     */
 
    /**
     * Run the harness with a fake test. 
     */
 
    require_once( dirname( dirname( dirname( __file__ ) ) ) . '/bootstrap.php' );
 
    $dummy_test  = INTEGRATION_TEST_RESOURCE_DIR . '/DummyClassTst.php';   // the test file
    $switches = array( '--hide-summary' );                                      // array can be empty if no switches are used
 
    DebugRun::exec( $dummy_test, $switches );
 
?>