diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/FunctionalTests/index.php | 7 | ||||
-rw-r--r-- | tests/FunctionalTests/quickstart_tests/HelloWorldTestCase.php | 12 |
2 files changed, 18 insertions, 1 deletions
diff --git a/tests/FunctionalTests/index.php b/tests/FunctionalTests/index.php index da60b2f0..47ef19ce 100644 --- a/tests/FunctionalTests/index.php +++ b/tests/FunctionalTests/index.php @@ -8,7 +8,12 @@ class BrowserTestConfig extends PradoTestConfig public function unit_test_groups() { $groups = array(); - $this->get_directories($this->tests_directory(),$groups); + + $this->get_directories(dirname(__FILE__).'/quickstart_tests', $groups); + + //for tests in the protected dirs + //$this->get_directories($this->tests_directory(),$groups); + return $groups; } diff --git a/tests/FunctionalTests/quickstart_tests/HelloWorldTestCase.php b/tests/FunctionalTests/quickstart_tests/HelloWorldTestCase.php new file mode 100644 index 00000000..1edb844e --- /dev/null +++ b/tests/FunctionalTests/quickstart_tests/HelloWorldTestCase.php @@ -0,0 +1,12 @@ +<?php
+
+class HelloWorldTestCase extends SeleniumTestCase
+{
+ function testButton()
+ {
+ $this->open('../../demos/quickstart/index.php?page=Fundamentals.Samples.HelloWorld.Home');
+ $this->verifyTitle('Hello World');
+ }
+}
+
+?>
\ No newline at end of file |