{"action":"created","issue":{"url":"https://api.github.com/repos/piotrturski/zohhak-migration-test/issues/2","labels_url":"https://api.github.com/repos/piotrturski/zohhak-migration-test/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/piotrturski/zohhak-migration-test/issues/2/comments","events_url":"https://api.github.com/repos/piotrturski/zohhak-migration-test/issues/2/events","html_url":"https://github.com/piotrturski/zohhak-migration-test/issues/2","id":53359661,"number":2,"title":"Support @Test capabilities (expected Exception)","user":{"login":"piotrturski","id":3491230,"avatar_url":"https://avatars.githubusercontent.com/u/3491230?v=3","gravatar_id":"","url":"https://api.github.com/users/piotrturski","html_url":"https://github.com/piotrturski","followers_url":"https://api.github.com/users/piotrturski/followers","following_url":"https://api.github.com/users/piotrturski/following{/other_user}","gists_url":"https://api.github.com/users/piotrturski/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrturski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrturski/subscriptions","organizations_url":"https://api.github.com/users/piotrturski/orgs","repos_url":"https://api.github.com/users/piotrturski/repos","events_url":"https://api.github.com/users/piotrturski/events{/privacy}","received_events_url":"https://api.github.com/users/piotrturski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/piotrturski/zohhak-migration-test/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/piotrturski/zohhak-migration-test/labels/imported","name":"imported","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-05T02:56:30Z","updated_at":"2015-01-05T02:56:32Z","closed_at":null,"body":"_From [drekb...@gmail.com](https://code.google.com/u/103644267075678634468/) on July 15, 2013 23:21:41_\n\n1.0.0-beta1\r\n\r\nThe usage is really neat but I was hoping the following would succeed\r\n    @Test(expected=Exception.class)\r\n    @TestWith({\"A B\", \"A+B\", \"A!B\"})\r\n    public void junkNameFails(String junkName) { ...\r\nIt doesn't and there is no equivalent so I'm back to try-catch-or-fail()\r\nSame could be said for the timeout option though I suspect it's less commonly used.\r\n\r\nWithout looking at the code or possibilities in JUnit, it would be preferable to hijack an existing @Test annotation (as above) than to simply repeat its functions. That way @TestWith stays pure to parameterisation.\n\n_Original issue: http://code.google.com/p/zohhak/issues/detail?id=2_"},"comment":{"url":"https://api.github.com/repos/piotrturski/zohhak-migration-test/issues/comments/68663000","html_url":"https://github.com/piotrturski/zohhak-migration-test/issues/2#issuecomment-68663000","issue_url":"https://api.github.com/repos/piotrturski/zohhak-migration-test/issues/2","id":68663000,"user":{"login":"piotrturski","id":3491230,"avatar_url":"https://avatars.githubusercontent.com/u/3491230?v=3","gravatar_id":"","url":"https://api.github.com/users/piotrturski","html_url":"https://github.com/piotrturski","followers_url":"https://api.github.com/users/piotrturski/followers","following_url":"https://api.github.com/users/piotrturski/following{/other_user}","gists_url":"https://api.github.com/users/piotrturski/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrturski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrturski/subscriptions","organizations_url":"https://api.github.com/users/piotrturski/orgs","repos_url":"https://api.github.com/users/piotrturski/repos","events_url":"https://api.github.com/users/piotrturski/events{/privacy}","received_events_url":"https://api.github.com/users/piotrturski/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T02:56:32Z","updated_at":"2015-01-05T02:56:32Z","body":"_From [Piotr.Tu...@gmail.com](https://code.google.com/u/106227458016791646508/) on September 29, 2013 16:55:55_\n\ni didn't plan to support this feature because there is a lot of arguing that it shouldn't be used.\r\nsee: http://alexruiz.developerblogs.com/?p=1530 and https://code.google.com/p/catch-exception/ however, there are some small problems with catch-exception library so i will reconsider this feature. but i don't think it will be added very soon"}}