{"action":"closed","issue":{"url":"https://api.github.com/repos/dakusui/jcunit/issues/53","repository_url":"https://api.github.com/repos/dakusui/jcunit","labels_url":"https://api.github.com/repos/dakusui/jcunit/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/dakusui/jcunit/issues/53/comments","events_url":"https://api.github.com/repos/dakusui/jcunit/issues/53/events","html_url":"https://github.com/dakusui/jcunit/issues/53","id":141119096,"number":53,"title":"Reduce number of test executions where possible","user":{"login":"dakusui","id":529265,"avatar_url":"https://avatars.githubusercontent.com/u/529265?v=3","gravatar_id":"","url":"https://api.github.com/users/dakusui","html_url":"https://github.com/dakusui","followers_url":"https://api.github.com/users/dakusui/followers","following_url":"https://api.github.com/users/dakusui/following{/other_user}","gists_url":"https://api.github.com/users/dakusui/gists{/gist_id}","starred_url":"https://api.github.com/users/dakusui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakusui/subscriptions","organizations_url":"https://api.github.com/users/dakusui/orgs","repos_url":"https://api.github.com/users/dakusui/repos","events_url":"https://api.github.com/users/dakusui/events{/privacy}","received_events_url":"https://api.github.com/users/dakusui/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dakusui/jcunit/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"dakusui","id":529265,"avatar_url":"https://avatars.githubusercontent.com/u/529265?v=3","gravatar_id":"","url":"https://api.github.com/users/dakusui","html_url":"https://github.com/dakusui","followers_url":"https://api.github.com/users/dakusui/followers","following_url":"https://api.github.com/users/dakusui/following{/other_user}","gists_url":"https://api.github.com/users/dakusui/gists{/gist_id}","starred_url":"https://api.github.com/users/dakusui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakusui/subscriptions","organizations_url":"https://api.github.com/users/dakusui/orgs","repos_url":"https://api.github.com/users/dakusui/repos","events_url":"https://api.github.com/users/dakusui/events{/privacy}","received_events_url":"https://api.github.com/users/dakusui/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dakusui/jcunit/milestones/3","html_url":"https://github.com/dakusui/jcunit/milestones/0.8.0","labels_url":"https://api.github.com/repos/dakusui/jcunit/milestones/3/labels","id":1646749,"number":3,"title":"0.8.0","description":null,"creator":{"login":"dakusui","id":529265,"avatar_url":"https://avatars.githubusercontent.com/u/529265?v=3","gravatar_id":"","url":"https://api.github.com/users/dakusui","html_url":"https://github.com/dakusui","followers_url":"https://api.github.com/users/dakusui/followers","following_url":"https://api.github.com/users/dakusui/following{/other_user}","gists_url":"https://api.github.com/users/dakusui/gists{/gist_id}","starred_url":"https://api.github.com/users/dakusui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakusui/subscriptions","organizations_url":"https://api.github.com/users/dakusui/orgs","repos_url":"https://api.github.com/users/dakusui/repos","events_url":"https://api.github.com/users/dakusui/events{/privacy}","received_events_url":"https://api.github.com/users/dakusui/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2016-03-15T22:35:31Z","updated_at":"2016-03-16T14:05:10Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-03-15T22:39:02Z","updated_at":"2016-03-16T14:05:10Z","closed_at":"2016-03-16T14:05:10Z","body":"It is a possible situation where  a test method uses some of factors defined in a test class.\r\nIn such a case, if the levels of the factors are exactly the same, the test shouldn't be executed repeatedly.\r\n\r\nOne idea is to allow users to declare factors used in a test method by using a new annotation '@Uses'\r\n\r\n```java\r\n\r\n@Test\r\n@Uses(\"factor1\", \"factor3)\r\npublic void test() {\r\n    use this.factor1 and 2\r\n}"}}