I'm using PHPUnit to run my Selenium tests. I'm using captureScreenshotOnFailure to get screenshots when my assertions fail.
I run tests on a Linux box, a Mac and a Windows box. The tests are all run from the Linux (Ubuntu) box.
I would like to get all of the failure screenshots in one location. Everything that I've read, just says that开发者_高级运维 the screenshots are put on the host computer (if the test fails in IE on the Windows box, the screenshots have to be saved on the Windows box). Does anyone have any great ideas on how I could make my screenshots all "end up" on the Linux box, regardless of where they occurred?
Make a shared drive/folder (e.g. SMB or WebDAV) on linux and mount this on the other computers, so PHPUnit saves the screenshots to this drive.
精彩评论