From: Daniel Werner Date: Sat, 20 Apr 2013 20:28:38 +0000 (+0200) Subject: Added more fine grained groups for parser tests X-Git-Tag: 1.31.0-rc.0~19919^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=7e4890405d7a38a8a80fb643d69e628ab5e9a116;p=lhc%2Fweb%2Fwiklou.git Added more fine grained groups for parser tests * Group "ParserTests" which allows to run all parser tests in PHPUnit without running other tests related to the MediaWiki parser from group "Parser" * Dynamically generated groups to only run certain parser tests. All of those groups are the parser test file names ("." and "_" replaced) prefixed with "ParserTests_". This allows to easily run the parser tests of a certain extension separately without using "parserTests.txt". Change-Id: I03b87820c2968cf16eba2ac39cd8444a0e4dc41a --- diff --git a/tests/phpunit/includes/parser/MediaWikiParserTest.php b/tests/phpunit/includes/parser/MediaWikiParserTest.php index c5c7cf2079..abc2f61446 100644 --- a/tests/phpunit/includes/parser/MediaWikiParserTest.php +++ b/tests/phpunit/includes/parser/MediaWikiParserTest.php @@ -28,6 +28,8 @@ class MediaWikiParserTest { /** * @group Database * @group Parser + * @group ParserTests + * @group ParserTests_$parserTestClassName */ class $parserTestClassName extends NewParserTest { protected \$file = '$escapedFileName';