summaryrefslogtreecommitdiff
path: root/tests/test_tools/PradoGenericSeleniumTest.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2013-09-22 22:39:41 +0200
committerFabio Bas <ctrlaltca@gmail.com>2013-09-22 22:39:41 +0200
commit7c65b2f40ea9242260eac5a746863f5925423861 (patch)
tree6c516057baa4356fde43f8d79517571bc8f0bfa2 /tests/test_tools/PradoGenericSeleniumTest.php
parent60c6bfa6f7caeb122cb8fa820506bdd1c54a842e (diff)
Phing: added target for phpunit+selenium
Functional tests were using an old selenium RC version. Ported them to use phpunit + selenium; next: opensauce
Diffstat (limited to 'tests/test_tools/PradoGenericSeleniumTest.php')
-rw-r--r--tests/test_tools/PradoGenericSeleniumTest.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/test_tools/PradoGenericSeleniumTest.php b/tests/test_tools/PradoGenericSeleniumTest.php
new file mode 100644
index 00000000..547ff2f0
--- /dev/null
+++ b/tests/test_tools/PradoGenericSeleniumTest.php
@@ -0,0 +1,15 @@
+<?php
+require_once 'PHPUnit/Extensions/SeleniumTestCase.php';
+
+class PradoGenericSeleniumTest extends PHPUnit_Extensions_SeleniumTestCase
+{
+ protected function setUp()
+ {
+ $this->setBrowser('*googlechrome');
+ $this->setBrowserUrl('http://127.0.0.1/prado-3.2/tests/FunctionalTests/');
+ }
+
+ protected function tearDown()
+ {
+ }
+} \ No newline at end of file