From 98215a603fb798cdb4178e49061977544aaa45b7 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 10 Dec 2005 11:49:29 +0000 Subject: Initial import selenium functional test framework. --- tests/FunctionalTests/index.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tests/FunctionalTests/index.php (limited to 'tests/FunctionalTests/index.php') diff --git a/tests/FunctionalTests/index.php b/tests/FunctionalTests/index.php new file mode 100644 index 00000000..b2c9e16c --- /dev/null +++ b/tests/FunctionalTests/index.php @@ -0,0 +1,26 @@ +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(); + +?> \ No newline at end of file -- cgit v1.2.3