Add acceptance tests

Basic Framework for working with Selenium with PHPUnit and Firefox.
Future acceptance tests just need to extend Base.php and implement
various flows that we wish to test.
This commit is contained in:
Lev Lazinskiy
2016-06-08 19:02:46 -07:00
parent 216a8c6647
commit 7464607195
3 changed files with 117 additions and 0 deletions

13
tests/acceptance.xml Normal file
View File

@@ -0,0 +1,13 @@
<phpunit stopOnError="true" stopOnFailure="true" colors="true">
<testsuites>
<testsuite name="Kanboard">
<directory>acceptance</directory>
</testsuite>
</testsuites>
<php>
<const name="SELENIUM_HOST" value="localhost" />
<const name="SELENIUM_PORT" value="4444" />
<const name="DEFAULT_BROWSER" value="firefox" />
<const name="KANBOARD_APP_URL" value="http://localhost:8001" />
</php>
</phpunit>