Files
Kanboard-Prod/tests/acceptance/Base.php
Lev Lazinskiy 7464607195 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.
2016-06-08 19:02:46 -07:00

19 lines
355 B
PHP

<?php
class Base extends PHPUnit_Extensions_Selenium2TestCase
{
public function setUp()
{
$this->setHost(SELENIUM_HOST);
$this->setPort((integer) SELENIUM_PORT);
$this->setBrowserUrl(KANBOARD_APP_URL);
$this->setBrowser(DEFAULT_BROWSER);
}
public function tearDown()
{
$this->stop();
}
}