{"action":"created","issue":{"url":"https://api.github.com/repos/Block8/PHPCI/issues/980","repository_url":"https://api.github.com/repos/Block8/PHPCI","labels_url":"https://api.github.com/repos/Block8/PHPCI/issues/980/labels{/name}","comments_url":"https://api.github.com/repos/Block8/PHPCI/issues/980/comments","events_url":"https://api.github.com/repos/Block8/PHPCI/issues/980/events","html_url":"https://github.com/Block8/PHPCI/issues/980","id":76755036,"number":980,"title":"Do not see PHP Unit output / Showing Screenshot URLs of Selenium Tests","user":{"login":"amenk","id":1087128,"avatar_url":"https://avatars.githubusercontent.com/u/1087128?v=3","gravatar_id":"","url":"https://api.github.com/users/amenk","html_url":"https://github.com/amenk","followers_url":"https://api.github.com/users/amenk/followers","following_url":"https://api.github.com/users/amenk/following{/other_user}","gists_url":"https://api.github.com/users/amenk/gists{/gist_id}","starred_url":"https://api.github.com/users/amenk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amenk/subscriptions","organizations_url":"https://api.github.com/users/amenk/orgs","repos_url":"https://api.github.com/users/amenk/repos","events_url":"https://api.github.com/users/amenk/events{/privacy}","received_events_url":"https://api.github.com/users/amenk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Block8/PHPCI/labels/phpci:documentation","name":"phpci:documentation","color":"0052cc"},{"url":"https://api.github.com/repos/Block8/PHPCI/labels/version:1.6-or-below","name":"version:1.6-or-below","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2015-05-15T15:09:19Z","updated_at":"2016-09-14T19:34:43Z","closed_at":null,"body":"I have a PHP Unit test with selenium tests. I would like to see the screenshot URLs.\r\n\r\nWhen I execute PHPunit manually I get\r\n\r\n```\r\nPHPUnit 4.8-dev by Sebastian Bergmann and contributors.\r\n\r\n.E\r\n\r\nTime: 22.55 seconds, Memory: 4.75Mb\r\n\r\nThere was 1 error:\r\n\r\n1) Example::testKaputt\r\nCurrent URL: http://www.example.com/\r\nScreenshot: http://phpci.me.local/screenshots/3e2d23019cee95070e6cd97a52f0b552.png\r\n\r\nFailed asserting that false is true.\r\n\r\nCaused by\r\nFailed asserting that false is true.\r\n\r\n/home/me/local-workspace/phpci/PHPCI/build/57/tests/xxxTest.php:32\r\n\r\nFAILURES!\r\nTests: 2, Assertions: 2, Errors: 1.\r\n```\r\n\r\nBut in the build protocol I just see\r\n\r\n```\r\n\u001BPLUGIN: SUCCESS\u001B\r\nRUNNING PLUGIN: php_unit\r\n\u001BPLUGIN: FAILED\u001B\r\n\u001BBUILD FAILED\u001B\r\nRemoving Build.\r\n```\r\n\r\nmy phpci.yml:\r\n\r\n```\r\nsetup:\r\n    composer:\r\n        action: \"install\"\r\n        prefer_dist: true\r\n\r\ntest:\r\n    php_unit:\r\n        config: phpunit.xml\r\n```\r\n\r\nphpunit.xml:\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<phpunit backupGlobals=\"false\"\r\n         backupStaticAttributes=\"false\"\r\n         colors=\"true\"\r\n         convertErrorsToExceptions=\"true\"\r\n         convertNoticesToExceptions=\"true\"\r\n         convertWarningsToExceptions=\"true\"\r\n         processIsolation=\"false\"\r\n         stopOnFailure=\"false\"\r\n         syntaxCheck=\"false\">\r\n    <testsuites>\r\n        <testsuite name=\"Application Test Suite\">\r\n            <directory>./tests/</directory>\r\n        </testsuite>\r\n    </testsuites>\r\n    <php>\r\n        <env name=\"APP_ENV\" value=\"testing\"/>\r\n        <env name=\"CACHE_DRIVER\" value=\"array\"/>\r\n        <env name=\"SESSION_DRIVER\" value=\"array\"/>\r\n    </php>\r\n</phpunit>\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Block8/PHPCI/issues/comments/247128534","html_url":"https://github.com/Block8/PHPCI/issues/980#issuecomment-247128534","issue_url":"https://api.github.com/repos/Block8/PHPCI/issues/980","id":247128534,"user":{"login":"ptejada","id":253405,"avatar_url":"https://avatars.githubusercontent.com/u/253405?v=3","gravatar_id":"","url":"https://api.github.com/users/ptejada","html_url":"https://github.com/ptejada","followers_url":"https://api.github.com/users/ptejada/followers","following_url":"https://api.github.com/users/ptejada/following{/other_user}","gists_url":"https://api.github.com/users/ptejada/gists{/gist_id}","starred_url":"https://api.github.com/users/ptejada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptejada/subscriptions","organizations_url":"https://api.github.com/users/ptejada/orgs","repos_url":"https://api.github.com/users/ptejada/repos","events_url":"https://api.github.com/users/ptejada/events{/privacy}","received_events_url":"https://api.github.com/users/ptejada/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T19:34:43Z","updated_at":"2016-09-14T19:34:43Z","body":"Hi, \r\n\r\nAre there updates on this? the tap output is not the most useful as it does not really tells you what went wrong with an error or failure. Ideally the phpunit plugin uses the `--log-tap` instead of `--tap`, this way is possible to display the useful output in the \"Build Log\" tab."}}
{"actor":{"display_login":"ptejada"}}