{"action":"opened","issue":{"url":"https://api.github.com/repos/nadako/sure/issues/1","repository_url":"https://api.github.com/repos/nadako/sure","labels_url":"https://api.github.com/repos/nadako/sure/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/nadako/sure/issues/1/comments","events_url":"https://api.github.com/repos/nadako/sure/issues/1/events","html_url":"https://github.com/nadako/sure/issues/1","id":166031408,"number":1,"title":"Not meaningful error messages","user":{"login":"FrancisBourre","id":14309646,"avatar_url":"https://avatars.githubusercontent.com/u/14309646?v=3","gravatar_id":"","url":"https://api.github.com/users/FrancisBourre","html_url":"https://github.com/FrancisBourre","followers_url":"https://api.github.com/users/FrancisBourre/followers","following_url":"https://api.github.com/users/FrancisBourre/following{/other_user}","gists_url":"https://api.github.com/users/FrancisBourre/gists{/gist_id}","starred_url":"https://api.github.com/users/FrancisBourre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrancisBourre/subscriptions","organizations_url":"https://api.github.com/users/FrancisBourre/orgs","repos_url":"https://api.github.com/users/FrancisBourre/repos","events_url":"https://api.github.com/users/FrancisBourre/events{/privacy}","received_events_url":"https://api.github.com/users/FrancisBourre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-18T07:03:41Z","updated_at":"2016-07-18T07:03:41Z","closed_at":null,"body":"That's a really nice idea, but imho there's a little drawback, \"micro assertions\" are great for granular code coverage. \r\nI mean when something has failed, you know immediately where and why.\r\nAssert.equals( 1, a, \"var 'a' should equal to 1 when...\" );\r\nAssert.equals( 1, b, \"var 'b' should equal to 1 when...\" );\r\n\r\nThe problem of asserting a block, is you don't know which part has failed and why:\r\nsure( a == 1, b == 1 ); \r\nError: FAIL: values are not equal (expected: 1, actual: 2)\r\n\r\nTo have a more understandable error message, I would add identifiers of all non expected values with positions in a stack trace."}}
{"actor":{"display_login":"FrancisBourre"}}