From 7e4890405d7a38a8a80fb643d69e628ab5e9a116 Mon Sep 17 00:00:00 2001 From: Daniel Werner Date: Sat, 20 Apr 2013 22:28:38 +0200 Subject: [PATCH] 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 --- tests/phpunit/includes/parser/MediaWikiParserTest.php | 2 ++ 1 file changed, 2 insertions(+) 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'; -- 2.20.1