{"action":"created","issue":{"url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/851","labels_url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/851/labels{/name}","comments_url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/851/comments","events_url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/851/events","html_url":"https://github.com/The-Compiler/qutebrowser/issues/851","id":99370550,"number":851,"title":"Starting Xvfb from tests?","user":{"login":"The-Compiler","id":625793,"avatar_url":"https://avatars.githubusercontent.com/u/625793?v=3","gravatar_id":"","url":"https://api.github.com/users/The-Compiler","html_url":"https://github.com/The-Compiler","followers_url":"https://api.github.com/users/The-Compiler/followers","following_url":"https://api.github.com/users/The-Compiler/following{/other_user}","gists_url":"https://api.github.com/users/The-Compiler/gists{/gist_id}","starred_url":"https://api.github.com/users/The-Compiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/The-Compiler/subscriptions","organizations_url":"https://api.github.com/users/The-Compiler/orgs","repos_url":"https://api.github.com/users/The-Compiler/repos","events_url":"https://api.github.com/users/The-Compiler/events{/privacy}","received_events_url":"https://api.github.com/users/The-Compiler/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/The-Compiler/qutebrowser/labels/component:%20tests","name":"component: tests","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-06T06:47:52Z","updated_at":"2015-08-06T19:42:06Z","closed_at":null,"body":"I'm sometimes annoyed when running qutebrowser's tests (and I'd like to run all of them) on systems without an X server, as the tests (well, Qt) will call `abort()`.\r\n\r\nI think:\r\n\r\n* GUI tests should be skipped gracefully if no display was found (how to check for that condition, though? Checking `'DISPLAY' in os.environ` would be a start.)\r\n* Maybe if we're on Linux and `Xvfb` is available, it should automatically be started as part of the tests, e.g. using [pytest-services](https://github.com/pytest-dev/pytest-services).\r\n\r\n@nicoddemus @hackebrot what's your take on this?"},"comment":{"url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/comments/128483517","html_url":"https://github.com/The-Compiler/qutebrowser/issues/851#issuecomment-128483517","issue_url":"https://api.github.com/repos/The-Compiler/qutebrowser/issues/851","id":128483517,"user":{"login":"hackebrot","id":6024445,"avatar_url":"https://avatars.githubusercontent.com/u/6024445?v=3","gravatar_id":"","url":"https://api.github.com/users/hackebrot","html_url":"https://github.com/hackebrot","followers_url":"https://api.github.com/users/hackebrot/followers","following_url":"https://api.github.com/users/hackebrot/following{/other_user}","gists_url":"https://api.github.com/users/hackebrot/gists{/gist_id}","starred_url":"https://api.github.com/users/hackebrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackebrot/subscriptions","organizations_url":"https://api.github.com/users/hackebrot/orgs","repos_url":"https://api.github.com/users/hackebrot/repos","events_url":"https://api.github.com/users/hackebrot/events{/privacy}","received_events_url":"https://api.github.com/users/hackebrot/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T19:42:06Z","updated_at":"2015-08-06T19:42:06Z","body":"I'm afraid I don't really know what to do in this particular case :worried: "}}