{"action":"opened","issue":{"url":"https://api.github.com/repos/Jam3/nyg-ui-generator/issues/4","repository_url":"https://api.github.com/repos/Jam3/nyg-ui-generator","labels_url":"https://api.github.com/repos/Jam3/nyg-ui-generator/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Jam3/nyg-ui-generator/issues/4/comments","events_url":"https://api.github.com/repos/Jam3/nyg-ui-generator/issues/4/events","html_url":"https://github.com/Jam3/nyg-ui-generator/issues/4","id":169391845,"number":4,"title":"Add option to generate/scaffold test for unpublished components in project.","user":{"login":"BrendanNeufeld","id":2735051,"avatar_url":"https://avatars.githubusercontent.com/u/2735051?v=3","gravatar_id":"","url":"https://api.github.com/users/BrendanNeufeld","html_url":"https://github.com/BrendanNeufeld","followers_url":"https://api.github.com/users/BrendanNeufeld/followers","following_url":"https://api.github.com/users/BrendanNeufeld/following{/other_user}","gists_url":"https://api.github.com/users/BrendanNeufeld/gists{/gist_id}","starred_url":"https://api.github.com/users/BrendanNeufeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrendanNeufeld/subscriptions","organizations_url":"https://api.github.com/users/BrendanNeufeld/orgs","repos_url":"https://api.github.com/users/BrendanNeufeld/repos","events_url":"https://api.github.com/users/BrendanNeufeld/events{/privacy}","received_events_url":"https://api.github.com/users/BrendanNeufeld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-04T14:43:53Z","updated_at":"2016-08-04T14:43:53Z","closed_at":null,"body":"We should consult the project generator guys(Nick) before we do this so we use consistent directory structure etc. I know they have worked on generating a tests folder.\r\n\r\nProbably the final question would be:\r\n\r\n1) Would you like to create a test for this component? (Y/N)\r\n- no just exits, yes executes the following prompt\r\n\r\n2) Where would you like to put your test? (~/Documents/Projects/prj-current-proj)\r\n- the generator would traverse up the directory tree (from the generated comp. dir.) and find the first directory with a package.json and use that as the default directory.\r\n- once the user selects a directory the following will happen:\r\na) User selects the directory\r\n2) The generator scaffolds a test, pointing to the component\r\n3) The generator adds the test commands to the package.json and executes said command, launching budo.\r\n\r\n\r\n"}}
{"actor":{"display_login":"BrendanNeufeld"}}