blob: b2c9e16c5705a9ee4ad4980c07fbe7dafa2379c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<?php
require('config.php');
class BrowserTestConfig extends PradoTestConfig
{
//functional test groups
public function unit_test_groups()
{
$groups['Web/UI'] = realpath($this->tests_directory().'/Web/UI/');
$groups['Demos'] = realpath($this->tests_directory().'/Demos/');
return $groups;
}
}
$root = dirname(__FILE__);
$server = SimpleSeleniumProxyServer::getInstance($root);
$tester = new PradoSimpleTester(new BrowserTestConfig());
$browser_tests = $tester->getTests();
$browser_tests->run(new SeleniumReporter());
$server->handleRequest();
?>
|