{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/test/issues/146","labels_url":"https://api.github.com/repos/dart-lang/test/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/test/issues/146/comments","events_url":"https://api.github.com/repos/dart-lang/test/issues/146/events","html_url":"https://github.com/dart-lang/test/issues/146","id":85654753,"number":146,"title":"Create a test runner that lets you control which tests to run","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/test/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/dart-lang/test/labels/Fixed","name":"Fixed","color":"ededed"},{"url":"https://api.github.com/repos/dart-lang/test/labels/Priority-Low","name":"Priority-Low","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-05T23:17:25Z","updated_at":"2015-06-05T23:17:27Z","closed_at":null,"body":"_Originally opened as dart-lang/sdk#4226_\n\n*This issue was originally filed by jjinux...&#064;google.com*\n_____\nPer (https://groups.google.com/a/dartlang.org/forum/#!searchin/misc/%22%5Bmisc%5D$20Test$20Suites?%22/misc/RLS89WZKdJE/zSk84lMbhsYJ):\n\nIt'd be really great to have a test runner that could automatically (based on invocation):\n\n&nbsp;\\* Run all the tests in a directory (recursively)\n&nbsp;\\* Run all the tests in a file\n&nbsp;\\* Run specific tests in a file with nested tests\n\nRight now, you have to do stuff like:\n\n// suite1.dart\nmain() {\n&nbsp;&nbsp;group('suite 1', () {\n&nbsp;&nbsp;&nbsp;&nbsp;test('a', () { ... });\n&nbsp;&nbsp;&nbsp;&nbsp;test('b', () { ... });\n&nbsp;&nbsp;&nbsp;&nbsp;test('c', () { ... });\n&nbsp;&nbsp;});\n}\n\n// suite2.dart\nmain() {\n&nbsp;&nbsp;group('suite 2', () {\n&nbsp;&nbsp;&nbsp;&nbsp;test('a', () { ... });\n&nbsp;&nbsp;&nbsp;&nbsp;test('b', () { ... });\n&nbsp;&nbsp;&nbsp;&nbsp;test('c', () { ... });\n&nbsp;&nbsp;});\n}\n\n// everything.dart\n#import('suite1.dart', prefix: 'suite1');\n#import('suite2.dart', prefix: 'suite2');\n\nmain() {\n&nbsp;&nbsp;suite1.main();\n&nbsp;&nbsp;suite2.main();\n}\n\nwhich is a bit more tedious.\n\nBob Nystrom said we're going to have to wait for reflection in order to implement this."},"comment":{"url":"https://api.github.com/repos/dart-lang/test/issues/comments/109478388","html_url":"https://github.com/dart-lang/test/issues/146#issuecomment-109478388","issue_url":"https://api.github.com/repos/dart-lang/test/issues/146","id":109478388,"user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T23:17:27Z","updated_at":"2015-06-05T23:17:27Z","body":"<a href=\"https://github.com/kevmoo\"><img src=\"https://avatars.githubusercontent.com/u/17034?v=3\" align=\"left\" width=\"48\" height=\"48\"hspace=\"10\"></img></a> **Comment by [kevmoo](https://github.com/kevmoo)**\n\n----\n\n*Removed [Area-UnitTest](../labels/Area-UnitTest) label.*\n*Added [Area-Pkg](../labels/Area-Pkg) label.*\n"}}