{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/10170","labels_url":"https://api.github.com/repos/laravel/framework/issues/10170/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/10170/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/10170/events","html_url":"https://github.com/laravel/framework/pull/10170","id":105094640,"number":10170,"title":"[5.1] Added command to make tests","user":{"login":"alnutile","id":365385,"avatar_url":"https://avatars.githubusercontent.com/u/365385?v=3","gravatar_id":"","url":"https://api.github.com/users/alnutile","html_url":"https://github.com/alnutile","followers_url":"https://api.github.com/users/alnutile/followers","following_url":"https://api.github.com/users/alnutile/following{/other_user}","gists_url":"https://api.github.com/users/alnutile/gists{/gist_id}","starred_url":"https://api.github.com/users/alnutile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alnutile/subscriptions","organizations_url":"https://api.github.com/users/alnutile/orgs","repos_url":"https://api.github.com/users/alnutile/repos","events_url":"https://api.github.com/users/alnutile/events{/privacy}","received_events_url":"https://api.github.com/users/alnutile/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/laravel/framework/labels/proposal","name":"proposal","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-06T13:16:35Z","updated_at":"2015-09-06T13:19:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/laravel/framework/pulls/10170","html_url":"https://github.com/laravel/framework/pull/10170","diff_url":"https://github.com/laravel/framework/pull/10170.diff","patch_url":"https://github.com/laravel/framework/pull/10170.patch"},"body":"So many great artisan commands to make Models, Controllers etc. I would like to make one to make a Test File.\r\n\r\nFor example \r\n\r\n~~~\r\nphp artisan make:test FooTest\r\n~~~\r\n\r\nWould make a default file to get going\r\n\r\n```php\r\n<?php \r\n\r\nclass FooTest extends \\TestCase {\r\n    \r\n}\r\n```\r\n\r\nOr \r\n\r\n~~~\r\nphp artisan make:test FooTest --database_migration\r\n~~~\r\n\r\n```php\r\n<?php \r\n\r\nclass FooTest extends \\TestCase {\r\n    use \\Illuminate\\Foundation\\Testing\\DatabaseMigrations;    \r\n    \r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/138085538","html_url":"https://github.com/laravel/framework/pull/10170#issuecomment-138085538","issue_url":"https://api.github.com/repos/laravel/framework/issues/10170","id":138085538,"user":{"login":"alnutile","id":365385,"avatar_url":"https://avatars.githubusercontent.com/u/365385?v=3","gravatar_id":"","url":"https://api.github.com/users/alnutile","html_url":"https://github.com/alnutile","followers_url":"https://api.github.com/users/alnutile/followers","following_url":"https://api.github.com/users/alnutile/following{/other_user}","gists_url":"https://api.github.com/users/alnutile/gists{/gist_id}","starred_url":"https://api.github.com/users/alnutile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alnutile/subscriptions","organizations_url":"https://api.github.com/users/alnutile/orgs","repos_url":"https://api.github.com/users/alnutile/repos","events_url":"https://api.github.com/users/alnutile/events{/privacy}","received_events_url":"https://api.github.com/users/alnutile/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T13:19:26Z","updated_at":"2015-09-06T13:19:26Z","body":"Need to fix the one line too where I did not remove the line `use Illuminate\\Support\\Str;` which was caught in the StyleCI"}}