[ create a new paste ] login | about

Project: PHPImpact
Link: http://phpimpact.codepad.org/8EQspGqq    [ raw code | fork ]

fedecarg - PHP, pasted on Dec 27:
<?php
require_once dirname(__FILE__) . '/bootstrap.php';
require_once dirname(__FILE__) . '/controllers/AllTests.php';

class AllTests
{
    public static function main()
    {
        $parameters = array();
        PHPUnit_TextUI_TestRunner::run(self::suite(), $parameters);
    }

    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('My Application');
        $suite->addTest(ControllersAllTests::suite());

        return $suite;
    }
}

AllTests::main();


Create a new paste based on this one


Comments: