Page MenuHomePhabricator

MediaWikiTestCaseTest (and possibly other tests) are not being run by Jenkins
Closed, ResolvedPublic

Description

This is demonstrated in https://gerrit.wikimedia.org/r/#/c/322286/ here I add a call to the fail method, and the test run does not fail.

Event Timeline

Addshore created this task.Nov 18 2016, 7:24 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 18 2016, 7:24 PM

Change 322301 had a related patch set uploaded (by Addshore):
Add 'tests' testsuite

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

Change 322301 merged by jenkins-bot:
Add 'tests' testsuite

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

Addshore closed this task as Resolved.Nov 18 2016, 9:50 PM

I did not get why why we need to declare the suite:

		<testsuite name="tests">
			<directory>tests</directory>
		</testsuite>

Only to realize we have /tests/phpunit/tests/ ;D Good catch!

I'm sure the test used to run so I am guessing it got removed / something changed about the way the tests were run and it was overlooked.

Thanks Adam. Looks like it is covered now :-}