Permalink
Browse files

- Deprecate --repeat.

  • Loading branch information...
sebastianbergmann committed Jul 30, 2009
1 parent 7f00534 commit 9637aad498302357b573df046340a973c1b2dc13
Showing with 5 additions and 3 deletions.
  1. +0 −1 PHPUnit/Tests/TextUI/help.phpt
  2. +0 −1 PHPUnit/Tests/TextUI/help2.phpt
  3. +5 −1 PHPUnit/TextUI/Command.php
@@ -36,7 +36,6 @@ Usage: phpunit [switches] UnitTest [UnitTest.php]
--list-groups List available test groups.
--loader <loader> TestSuiteLoader implementation to use.
- --repeat <times> Runs the test(s) repeatedly.
--story Report test execution progress in Story/BDD format.
--tap Report test execution progress in TAP format.
@@ -39,7 +39,6 @@ Usage: phpunit [switches] UnitTest [UnitTest.php]
--list-groups List available test groups.
--loader <loader> TestSuiteLoader implementation to use.
- --repeat <times> Runs the test(s) repeatedly.
--story Report test execution progress in Story/BDD format.
--tap Report test execution progress in TAP format.
@@ -483,6 +483,11 @@ protected function handleArguments(array $argv)
break;
case '--repeat': {
+ $this->showMessage(
+ 'The --repeat functionality is deprecated and will be removed in the future.',
+ FALSE
+ );
+
$this->arguments['repeat'] = (int)$option[1];
}
break;
@@ -912,7 +917,6 @@ protected function showHelp()
--list-groups List available test groups.
--loader <loader> TestSuiteLoader implementation to use.
- --repeat <times> Runs the test(s) repeatedly.
--story Report test execution progress in Story/BDD format.
--tap Report test execution progress in TAP format.

0 comments on commit 9637aad

Please sign in to comment.