{"action":"created","issue":{"url":"https://api.github.com/repos/carrotsearch/randomizedtesting/issues/184","labels_url":"https://api.github.com/repos/carrotsearch/randomizedtesting/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/carrotsearch/randomizedtesting/issues/184/comments","events_url":"https://api.github.com/repos/carrotsearch/randomizedtesting/issues/184/events","html_url":"https://github.com/carrotsearch/randomizedtesting/issues/184","id":53939302,"number":184,"title":"RandomizedTest  should not extend Assert","user":{"login":"obourgain","id":975826,"avatar_url":"https://avatars.githubusercontent.com/u/975826?v=3","gravatar_id":"","url":"https://api.github.com/users/obourgain","html_url":"https://github.com/obourgain","followers_url":"https://api.github.com/users/obourgain/followers","following_url":"https://api.github.com/users/obourgain/following{/other_user}","gists_url":"https://api.github.com/users/obourgain/gists{/gist_id}","starred_url":"https://api.github.com/users/obourgain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obourgain/subscriptions","organizations_url":"https://api.github.com/users/obourgain/orgs","repos_url":"https://api.github.com/users/obourgain/repos","events_url":"https://api.github.com/users/obourgain/events{/privacy}","received_events_url":"https://api.github.com/users/obourgain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-10T01:51:09Z","updated_at":"2015-01-10T09:40:11Z","closed_at":null,"body":"RandomizedTest is extending org.junit.Assert, I think this is for convenience of having assertThat method automatically available in every test class extending RandomizedTest.\r\nThis is annoying when using another assertion framework like assertJ or FestAssert that use the same method name.\r\n\r\nI know this would be a breaking change, but it would make randomized testing more user friendly at just the cost for current users relying on this implicit presence of assertThat() to use a static import instead."},"comment":{"url":"https://api.github.com/repos/carrotsearch/randomizedtesting/issues/comments/69450007","html_url":"https://github.com/carrotsearch/randomizedtesting/issues/184#issuecomment-69450007","issue_url":"https://api.github.com/repos/carrotsearch/randomizedtesting/issues/184","id":69450007,"user":{"login":"obourgain","id":975826,"avatar_url":"https://avatars.githubusercontent.com/u/975826?v=3","gravatar_id":"","url":"https://api.github.com/users/obourgain","html_url":"https://github.com/obourgain","followers_url":"https://api.github.com/users/obourgain/followers","following_url":"https://api.github.com/users/obourgain/following{/other_user}","gists_url":"https://api.github.com/users/obourgain/gists{/gist_id}","starred_url":"https://api.github.com/users/obourgain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obourgain/subscriptions","organizations_url":"https://api.github.com/users/obourgain/orgs","repos_url":"https://api.github.com/users/obourgain/repos","events_url":"https://api.github.com/users/obourgain/events{/privacy}","received_events_url":"https://api.github.com/users/obourgain/received_events","type":"User","site_admin":false},"created_at":"2015-01-10T09:40:11Z","updated_at":"2015-01-10T09:40:11Z","body":"I understand perfectly, and I am using Elasticsearch's ElasticsearchIntegrationTest, which extends the ElasticsearchTest you linked. ElasticsearchTest is extending Lucene's AbstractRandomizedTest which is itself extending your own RandomizedTest. \r\nSo I can not write a test extending ElasticsearchIntegrationTest (to benefit from all those wonderful annotations an stuff like that) that will not have those assertThat() method inhereited from Assert."}}