PHP Classes

File: unit_tests/runtests.cli.php

Recommend this page to a friend!
  Classes of Victor Bolshov   PHP Xforms   unit_tests/runtests.cli.php   Download  
File: unit_tests/runtests.cli.php
Role: Unit test script
Content type: text/plain
Description: unit test runner (CLI)
Class: PHP Xforms
Validate XML documents using XML Schema
Author: By
Last change:
Date: 17 years ago
Size: 445 bytes
 

Contents

Class file image Download
<?php

/**
 * Runs unit-tests in a shell environment
 *
 * @author Victor Bolshov <crocodile2u@yandex.ru>
 * @package PHP_XFORMS
 * @subpackage UNIT_TESTS
 */

include_once dirname(__FILE__) . '/config.php';

require_once
SIMPLE_TEST . '/unit_tester.php';
require_once
SIMPLE_TEST . '/reporter.php';
require_once
dirname(__FILE__) . '/PhpXformsTest.php';

$test = new PhpXformsTest();
$reporter = new TextReporter();

$test->run($reporter);

?>