Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/66125


Change subject: test: coverage recording now need to be explicit
......................................................................

test: coverage recording now need to be explicit

To better control what we are really covering, this patch uses PHPUnit
forceCoversAnnotation option. That makes it to record covering if and
only if @covers is used.

Change-Id: I467a5077a65b93cce08072a8d088b0b9c652a426
---
M tests/phpunit/suite.xml
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/25/66125/1

diff --git a/tests/phpunit/suite.xml b/tests/phpunit/suite.xml
index 844c853..3b644b9 100644
--- a/tests/phpunit/suite.xml
+++ b/tests/phpunit/suite.xml
@@ -7,6 +7,7 @@
          convertErrorsToExceptions="true"
          convertNoticesToExceptions="true"
          convertWarningsToExceptions="true"
+                forceCoversAnnotation="true"
          stopOnFailure="false"
                 timeoutForSmallTests="10"
                 timeoutForMediumTests="30"

-- 
To view, visit https://gerrit.wikimedia.org/r/66125
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I467a5077a65b93cce08072a8d088b0b9c652a426
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to