CodeView

PHPUnit test harness for Komodo

base_debug_custom_xml_config.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, using a custom XML config file. 
     */
 
    require_once( dirname( dirname( dirname( __file__ ) ) ) . '/bootstrap.php' );
 
    $dummy_test  = INTEGRATION_TEST_XML_RESOURCE_DIR;                           // dir containing the XML config 
    $switches = array( '--in-groups', '--configuration', 'dummy_config.xml' );  // array can be empty if no switches are used
 
    DebugRun::exec( $dummy_test, $switches );
 
?>