{"action":"opened","issue":{"url":"https://api.github.com/repos/junit-team/junit5/issues/414","repository_url":"https://api.github.com/repos/junit-team/junit5","labels_url":"https://api.github.com/repos/junit-team/junit5/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/junit-team/junit5/issues/414/comments","events_url":"https://api.github.com/repos/junit-team/junit5/issues/414/events","html_url":"https://github.com/junit-team/junit5/issues/414","id":166351480,"number":414,"title":"Idea: Make Assertions an interface","user":{"login":"martin-g","id":232002,"avatar_url":"https://avatars.githubusercontent.com/u/232002?v=3","gravatar_id":"","url":"https://api.github.com/users/martin-g","html_url":"https://github.com/martin-g","followers_url":"https://api.github.com/users/martin-g/followers","following_url":"https://api.github.com/users/martin-g/following{/other_user}","gists_url":"https://api.github.com/users/martin-g/gists{/gist_id}","starred_url":"https://api.github.com/users/martin-g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin-g/subscriptions","organizations_url":"https://api.github.com/users/martin-g/orgs","repos_url":"https://api.github.com/users/martin-g/repos","events_url":"https://api.github.com/users/martin-g/events{/privacy}","received_events_url":"https://api.github.com/users/martin-g/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-19T14:51:38Z","updated_at":"2016-07-19T14:51:38Z","closed_at":null,"body":"Is it a good idea to make https://github.com/junit-team/junit5/blob/master/junit-jupiter-api/src/main/java/org/junit/jupiter/api/Assertions.java an **interface** with static methods ?\r\nSame for Assumptions.\r\n\r\nThis way I could have test class like:\r\n```java\r\nclass MyTest implements Assertions, Assumptions {\r\n  @Test\r\n  void doIt() {\r\n     assumingThat(...);\r\n     ...\r\n     assertEquals(...);\r\n  }\r\n}\r\n```\r\n\r\nThe benefit is saving the static imports for each and every method. Especially when I add `implements Assertions, Assumptions` to my base test class."}}
{"actor":{"display_login":"martin-g"}}