{"action":"created","issue":{"url":"https://api.github.com/repos/phar-io/phive/issues/160","repository_url":"https://api.github.com/repos/phar-io/phive","labels_url":"https://api.github.com/repos/phar-io/phive/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/phar-io/phive/issues/160/comments","events_url":"https://api.github.com/repos/phar-io/phive/issues/160/events","html_url":"https://github.com/phar-io/phive/issues/160","id":339164529,"node_id":"MDU6SXNzdWUzMzkxNjQ1Mjk=","number":160,"title":"How to use PHPUnit with Phive","user":{"login":"Aerendir","id":1968622,"node_id":"MDQ6VXNlcjE5Njg2MjI=","avatar_url":"https://avatars3.githubusercontent.com/u/1968622?v=4","gravatar_id":"","url":"https://api.github.com/users/Aerendir","html_url":"https://github.com/Aerendir","followers_url":"https://api.github.com/users/Aerendir/followers","following_url":"https://api.github.com/users/Aerendir/following{/other_user}","gists_url":"https://api.github.com/users/Aerendir/gists{/gist_id}","starred_url":"https://api.github.com/users/Aerendir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aerendir/subscriptions","organizations_url":"https://api.github.com/users/Aerendir/orgs","repos_url":"https://api.github.com/users/Aerendir/repos","events_url":"https://api.github.com/users/Aerendir/events{/privacy}","received_events_url":"https://api.github.com/users/Aerendir/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-07T18:07:49Z","updated_at":"2018-07-07T19:04:31Z","closed_at":"2018-07-07T19:04:31Z","author_association":"NONE","body":"Downloading PHPUnit is a breeze with Phive, but, how do you write the tests if you don't have the classes downloaded through Composer?\r\n\r\nA simple question to which I cannot find an answer :)"},"comment":{"url":"https://api.github.com/repos/phar-io/phive/issues/comments/403236693","html_url":"https://github.com/phar-io/phive/issues/160#issuecomment-403236693","issue_url":"https://api.github.com/repos/phar-io/phive/issues/160","id":403236693,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzIzNjY5Mw==","user":{"login":"theseer","id":111333,"node_id":"MDQ6VXNlcjExMTMzMw==","avatar_url":"https://avatars3.githubusercontent.com/u/111333?v=4","gravatar_id":"","url":"https://api.github.com/users/theseer","html_url":"https://github.com/theseer","followers_url":"https://api.github.com/users/theseer/followers","following_url":"https://api.github.com/users/theseer/following{/other_user}","gists_url":"https://api.github.com/users/theseer/gists{/gist_id}","starred_url":"https://api.github.com/users/theseer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theseer/subscriptions","organizations_url":"https://api.github.com/users/theseer/orgs","repos_url":"https://api.github.com/users/theseer/repos","events_url":"https://api.github.com/users/theseer/events{/privacy}","received_events_url":"https://api.github.com/users/theseer/received_events","type":"User","site_admin":false},"created_at":"2018-07-07T19:04:31Z","updated_at":"2018-07-07T19:04:31Z","author_association":"MEMBER","body":"Just to make sure, let me state two things: Phive has nothing to do with running your tests or running PHPUnit. And Phive is also not a replacement for Composer when it comes to dealing with your software's runtime dependencies.\r\n\r\nNow regarding PHPUnit and your tests: As a phar, PHPUnit contains with everything it needs to run. But to execute your tests, you obviously are going to need some form of autoloading in place for _your_ classes. `PHPUnit` will take care of loading its own classes just fine.\r\n\r\nTo have your classes autoloaded, you can use Composer's Autoloader or any other."}}
{"actor":{"display_login":"theseer"}}