Introduce MediaWikiTestCase::markTestSkippedIfDbType()
authorKunal Mehta <legoktm@member.fsf.org>
Wed, 1 Aug 2018 07:19:10 +0000 (00:19 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Wed, 1 Aug 2018 07:19:10 +0000 (00:19 -0700)
commit04986dab93539b562c832bbd7dba03a55b6d049c
treec4711472d783ff3078d23ad91d50556ce99fcbcf
parent4c8a5ca662f125aa9f4997ec64fd447be8a55a3b
Introduce MediaWikiTestCase::markTestSkippedIfDbType()

Helper to skip tests if they're being run with a specific DBMS where the
test currently fails.

The main use case for this is to temporarily disable failing postgres
and sqlite tests so we can make those test runs voting (so we don't
regress any further), and re-enable the tests once they've been fixed.

Change-Id: I1fd7ca6b2d21fed59ed387376d03489c7cbccdfe
tests/phpunit/MediaWikiTestCase.php
tests/phpunit/tests/MediaWikiTestCaseSchema1Test.php
tests/phpunit/tests/MediaWikiTestCaseSchema2Test.php