[MediaWiki-l] Spawning images for test purposes
jamesmhare at gmail.com
Mon Feb 13 00:45:49 UTC 2017
I am writing unit tests for an extension, and as part of this test, I need
to use the names of files on-wiki. My own wiki set up has Instant Commons,
so these tests pass just fine. However, in Jenkins, the tests fail
because the Jenkins testing environment has no access to images. This is a
perfectly reasonable behavior, though it is inconvenient.
My question then is, for the purposes of the test, how can I “spawn” an
image into existence so that it is available for use in the test?
More information about the MediaWiki-l