Per wikitech-l discussion: Move tests from maintenance/tests/ to tests/. They're...
[lhc/web/wiklou.git] / tests / selenium / suites / SimpleSeleniumTestSuite.php
1 <?php
2 /*
3 * Sample test suite.
4 * Two ways to configure MW for these tests
5 * 1) If you are running multiple test suites, add the following in LocalSettings.php
6 * require_once("maintenance/tests/selenium/SimpleSeleniumConfig.php");
7 * $wgSeleniumTestConfigs['SimpleSeleniumTestSuite'] = 'SimpleSeleniumConfig::getSettings';
8 * OR
9 * 2) Add the following to your Localsettings.php
10 * $wgDefaultSkin = 'chick';
11 */
12 class SimpleSeleniumTestSuite extends SeleniumTestSuite
13 {
14 public function setUp() {
15 $this->setLoginBeforeTests( false );
16 parent::setUp();
17 }
18 public function addTests() {
19 $testFiles = array(
20 'maintenance/tests/selenium/suites/SimpleSeleniumTestCase.php'
21 );
22 parent::addTestFiles( $testFiles );
23 }
24
25
26 }