diff options
Diffstat (limited to 'demos/time-tracker/tests/functional')
-rw-r--r-- | demos/time-tracker/tests/functional/HelloPradoTestCase.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/demos/time-tracker/tests/functional/HelloPradoTestCase.php b/demos/time-tracker/tests/functional/HelloPradoTestCase.php new file mode 100644 index 00000000..b9e4f1e3 --- /dev/null +++ b/demos/time-tracker/tests/functional/HelloPradoTestCase.php @@ -0,0 +1,14 @@ +<?php
+
+//web testing
+class HelloPradoTestCase extends SeleniumTestCase
+{
+ function testIndexPage()
+ {
+ $this->open('../index.php');
+ $this->assertTextPresent('Welcome to Prado!');
+ //add more test assertions...
+ }
+}
+
+?>
\ No newline at end of file |