https://bugzilla.wikimedia.org/show_bug.cgi?id=58094

--- Comment #2 from Marcin Cieślak <[email protected]> ---
(In reply to comment #1)
> Yup we should mock the file system access :-(

OMG, no!

just use /tmp/Foobar${uniquetestinstanceidentifier}.svg

Test instance ID might come from Jenkins (maybe?) or just random stuff combined
with process ID and time of start if available. UUID might be some idea.

For a nice solution why don't we offer a $this->tempFile() for tests that
creates a directory that fulfills the above criteria which is removed every
time on tearDown().

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to