{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/test/issues/290","labels_url":"https://api.github.com/repos/dart-lang/test/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/test/issues/290/comments","events_url":"https://api.github.com/repos/dart-lang/test/issues/290/events","html_url":"https://github.com/dart-lang/test/issues/290","id":95775013,"number":290,"title":"Syntax errors should be reported quickly","user":{"login":"juliemr","id":2081709,"avatar_url":"https://avatars.githubusercontent.com/u/2081709?v=3","gravatar_id":"","url":"https://api.github.com/users/juliemr","html_url":"https://github.com/juliemr","followers_url":"https://api.github.com/users/juliemr/followers","following_url":"https://api.github.com/users/juliemr/following{/other_user}","gists_url":"https://api.github.com/users/juliemr/gists{/gist_id}","starred_url":"https://api.github.com/users/juliemr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliemr/subscriptions","organizations_url":"https://api.github.com/users/juliemr/orgs","repos_url":"https://api.github.com/users/juliemr/repos","events_url":"https://api.github.com/users/juliemr/events{/privacy}","received_events_url":"https://api.github.com/users/juliemr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/test/labels/blocked","name":"blocked","color":"fef2c0"},{"url":"https://api.github.com/repos/dart-lang/test/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-07-18T01:28:59Z","updated_at":"2015-08-05T18:57:16Z","closed_at":null,"body":"When I have a syntax error in a test, e.g.\r\n\r\n```\r\ntest('do foo', () {\r\n}       // oops forgot to close the parens\r\n```\r\n\r\ninstead of failing quickly, the test waits for a minute and then gives\r\n\r\n```\r\nFailed to load \"test/your_test.dart\": Timed out waiting for the test suite to connect on Dartium.\r\n```\r\n\r\nIt would be great if the error could be reported immediately and note that it's a syntax error.\r\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/test/issues/comments/128109721","html_url":"https://github.com/dart-lang/test/issues/290#issuecomment-128109721","issue_url":"https://api.github.com/repos/dart-lang/test/issues/290","id":128109721,"user":{"login":"nex3","id":188,"avatar_url":"https://avatars.githubusercontent.com/u/188?v=3","gravatar_id":"","url":"https://api.github.com/users/nex3","html_url":"https://github.com/nex3","followers_url":"https://api.github.com/users/nex3/followers","following_url":"https://api.github.com/users/nex3/following{/other_user}","gists_url":"https://api.github.com/users/nex3/gists{/gist_id}","starred_url":"https://api.github.com/users/nex3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nex3/subscriptions","organizations_url":"https://api.github.com/users/nex3/orgs","repos_url":"https://api.github.com/users/nex3/repos","events_url":"https://api.github.com/users/nex3/events{/privacy}","received_events_url":"https://api.github.com/users/nex3/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T18:57:16Z","updated_at":"2015-08-05T18:57:16Z","body":"> As for browser, perhaps you could use something similar to what webdriver does to extract log entries along with severity levels, and simply print the errors to the console so that it is more evident that something beyond a timeout is going on.\r\n\r\nAs far as I can tell, Dartium doesn't print Dart syntax errors to the console either."}}