{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/10742","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/10742/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/10742/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/10742/events","html_url":"https://github.com/Microsoft/vscode/issues/10742","id":172276587,"number":10742,"title":"What's the correct/best way to add support for running tests?","user":{"login":"DanTup","id":1078012,"avatar_url":"https://avatars.githubusercontent.com/u/1078012?v=3","gravatar_id":"","url":"https://api.github.com/users/DanTup","html_url":"https://github.com/DanTup","followers_url":"https://api.github.com/users/DanTup/followers","following_url":"https://api.github.com/users/DanTup/following{/other_user}","gists_url":"https://api.github.com/users/DanTup/gists{/gist_id}","starred_url":"https://api.github.com/users/DanTup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanTup/subscriptions","organizations_url":"https://api.github.com/users/DanTup/orgs","repos_url":"https://api.github.com/users/DanTup/repos","events_url":"https://api.github.com/users/DanTup/events{/privacy}","received_events_url":"https://api.github.com/users/DanTup/received_events","type":"User","site_admin":false},"labels":[{"id":272689392,"url":"https://api.github.com/repos/Microsoft/vscode/labels/feature-request","name":"feature-request","color":"bfe5bf","default":false},{"id":292032114,"url":"https://api.github.com/repos/Microsoft/vscode/labels/tasks","name":"tasks","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"dbaeumer","id":1931590,"avatar_url":"https://avatars.githubusercontent.com/u/1931590?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/received_events","type":"User","site_admin":false},"assignees":[{"login":"dbaeumer","id":1931590,"avatar_url":"https://avatars.githubusercontent.com/u/1931590?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-08-20T15:39:15Z","updated_at":"2016-11-07T09:24:56Z","closed_at":null,"body":"I started implementing a command to run tests, but the noticed there's a command in the command palette called \"Run Test Task\". It seems like it'd be a good idea to reuse this, since otherwise my \"Run Dart tests\" command appears even when there's not a Dart project open.\n\nHowever, I'm struggling to find how I can actually fire this up. If I execute that command it says `No task runner configured` and when I click the option to configure it gives me a list of existing task runners. I figure I need to add a new item to this list that the uesr can select, which would then pre-fill their tasks.json with the correct things for executing tests.\n\nHowever, I can't figure out how to contribute something to that list?\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/258785236","html_url":"https://github.com/Microsoft/vscode/issues/10742#issuecomment-258785236","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/10742","id":258785236,"user":{"login":"dbaeumer","id":1931590,"avatar_url":"https://avatars.githubusercontent.com/u/1931590?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T09:24:56Z","updated_at":"2016-11-07T09:24:56Z","body":"@DanTup yes the settings API allows you to write the tasks.json. But asking extensions to do this might not be a good idea in general since it would require that all extensions are fair in terms of manipulating the tasks.json file.."}}
{"actor":{"display_login":"dbaeumer"}}