{"action":"created","issue":{"url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/issues/253","repository_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle","labels_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/issues/253/comments","events_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/issues/253/events","html_url":"https://github.com/liip/LiipFunctionalTestBundle/pull/253","id":138953855,"number":253,"title":"Add paratest options to run tests faster","user":{"login":"huitiemesens","id":6419077,"avatar_url":"https://avatars.githubusercontent.com/u/6419077?v=3","gravatar_id":"","url":"https://api.github.com/users/huitiemesens","html_url":"https://github.com/huitiemesens","followers_url":"https://api.github.com/users/huitiemesens/followers","following_url":"https://api.github.com/users/huitiemesens/following{/other_user}","gists_url":"https://api.github.com/users/huitiemesens/gists{/gist_id}","starred_url":"https://api.github.com/users/huitiemesens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huitiemesens/subscriptions","organizations_url":"https://api.github.com/users/huitiemesens/orgs","repos_url":"https://api.github.com/users/huitiemesens/repos","events_url":"https://api.github.com/users/huitiemesens/events{/privacy}","received_events_url":"https://api.github.com/users/huitiemesens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-07T11:14:18Z","updated_at":"2016-03-07T16:49:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/pulls/253","html_url":"https://github.com/liip/LiipFunctionalTestBundle/pull/253","diff_url":"https://github.com/liip/LiipFunctionalTestBundle/pull/253.diff","patch_url":"https://github.com/liip/LiipFunctionalTestBundle/pull/253.patch"},"body":"Here a quick script to add paratest support.\r\n\r\nI squizz my current scripts into only one command, which in fact is the only call to make to run tests.\r\nI didn't add test since i don t think travis has paratest feature, but if it does, i ll add some in a next commit.\r\n\r\nHope this will help"},"comment":{"url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/issues/comments/193340732","html_url":"https://github.com/liip/LiipFunctionalTestBundle/pull/253#issuecomment-193340732","issue_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/issues/253","id":193340732,"user":{"login":"alexislefebvre","id":2071331,"avatar_url":"https://avatars.githubusercontent.com/u/2071331?v=3","gravatar_id":"","url":"https://api.github.com/users/alexislefebvre","html_url":"https://github.com/alexislefebvre","followers_url":"https://api.github.com/users/alexislefebvre/followers","following_url":"https://api.github.com/users/alexislefebvre/following{/other_user}","gists_url":"https://api.github.com/users/alexislefebvre/gists{/gist_id}","starred_url":"https://api.github.com/users/alexislefebvre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexislefebvre/subscriptions","organizations_url":"https://api.github.com/users/alexislefebvre/orgs","repos_url":"https://api.github.com/users/alexislefebvre/repos","events_url":"https://api.github.com/users/alexislefebvre/events{/privacy}","received_events_url":"https://api.github.com/users/alexislefebvre/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T16:49:43Z","updated_at":"2016-03-07T16:49:43Z","body":"I don't think so PHP 5.3 is mandatory.\r\n\r\nWe can ignore paratest with PHP 5.3 with something like that in `before_install`:\r\n\r\n     - if [[ $TRAVIS_PHP_VERSION == '2.3' ]]; then composer remove \"brianium/paratest\"; fi\r\n\r\nThen you can skip test by checking if a class exists: https://github.com/estahn/LiipFunctionalTestBundle/blob/2b664e5136736a7b3e4595fba999cb96f4bfacf9/Tests/Test/WebTestCaseTest.php#L347-L349\r\n\r\nIf you do the same with a paratest class it should avoid errors with PHP 5.3."}}