for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
include_once __DIR__ . '/WebTestCase.php';
/**
* Tests for php files in the 'extras' directory
*
*/
class ExtraFilesTest extends PhpXmlRpc_WebTestCase
{
public function set_up()
$this->args = argParser::getArgs();
$this->baseUrl = $this->args['HTTPSERVER'] . str_replace( '/demo/server/server.php', '/extras/', $this->args['HTTPURI'] );
$this->coverageScriptUrl = 'http://' . $this->args['HTTPSERVER'] . '/' . str_replace( '/demo/server/server.php', 'tests/phpunit_coverage.php', $this->args['HTTPURI'] );
}
* @todo collect code coverage for this...
public function testBenchmark()
$page = $this->request('benchmark.php');
$page
public function testVerifyCompat()
$page = $this->request('verify_compat.php');
public function testVarDemo()
$this->baseUrl = str_replace('/extras/', '/demo/', $this->baseUrl);
$page = $this->request('vardemo.php');