r65271 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65270‎ | r65271 | r65272 >
Date:11:45, 19 April 2010
Author:bhagya
Status:deferred
Tags:
Comment:
Add test cases to the test suite
Modified paths:
  • /trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiTestSuite.php (modified) (history)

Diff [purge]

Index: trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases/WikiTestSuite.php
@@ -2,15 +2,25 @@
33 require_once 'PHPUnit/Framework.php';
44 require_once 'PHPUnit/TextUI/TestRunner.php';
55
6 -
76 require_once 'WikiAcaiSearchTC.php';
 7+require_once 'WikiWatchUnWatchTC.php';
 8+require_once 'WikiToolBarDialogsTC.php';
 9+require_once 'WikiToolBarNTOC.php';
 10+require_once 'WikiToolBarOtherTC.php';
 11+require_once 'WikiToolBarTextFormatTC.php';
812
913 $suite = new PHPUnit_Framework_TestSuite('Wiki Tests');
1014
1115 require_once('WikiListener.php');
1216 $wLis = new WikiListener();
1317 $result = new PHPUnit_Framework_TestResult();
14 -$suite->addTestSuite("WikiAcaiSearchTC"); //Add your test case to the test suite
 18+//Add test case to the test suite
 19+$suite->addTestSuite("WikiAcaiSearchTC");
 20+$suite->addTestSuite("WikiWatchUnWatchTC");
 21+$suite->addTestSuite("WikiToolBarDialogsTC");
 22+$suite->addTestSuite("WikiToolBarNTOC");
 23+$suite->addTestSuite("WikiToolBarOtherTC");
 24+$suite->addTestSuite("WikiToolBarTextFormatTC");
1525 $result->addListener($wLis); //Define your listener which the test result will use to give output
1626 $suite->run($result); //And of course run this tests
1727

Status & tagging log