{"action":"opened","issue":{"url":"https://api.github.com/repos/ucb-bar/chisel/issues/515","labels_url":"https://api.github.com/repos/ucb-bar/chisel/issues/515/labels{/name}","comments_url":"https://api.github.com/repos/ucb-bar/chisel/issues/515/comments","events_url":"https://api.github.com/repos/ucb-bar/chisel/issues/515/events","html_url":"https://github.com/ucb-bar/chisel/issues/515","id":102985741,"number":515,"title":"Enable testing variable size modules","user":{"login":"andreaTP","id":5792097,"avatar_url":"https://avatars.githubusercontent.com/u/5792097?v=3","gravatar_id":"","url":"https://api.github.com/users/andreaTP","html_url":"https://github.com/andreaTP","followers_url":"https://api.github.com/users/andreaTP/followers","following_url":"https://api.github.com/users/andreaTP/following{/other_user}","gists_url":"https://api.github.com/users/andreaTP/gists{/gist_id}","starred_url":"https://api.github.com/users/andreaTP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreaTP/subscriptions","organizations_url":"https://api.github.com/users/andreaTP/orgs","repos_url":"https://api.github.com/users/andreaTP/repos","events_url":"https://api.github.com/users/andreaTP/events{/privacy}","received_events_url":"https://api.github.com/users/andreaTP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-25T09:19:14Z","updated_at":"2015-08-25T09:19:14Z","closed_at":null,"body":"The problem to solve here is that if I've developed a module that depends on an input parameter and I want to test it against multiple inputs.\r\nan example could be this  https://github.com/ucb-bar/chisel-tutorial/blob/master/problems/problems.scala#L35\r\n\r\nhow to test something like\r\n```for (i <- 2 to 10) yield Module(new Adder(i))```\r\n?\r\n\r\nunfortunately the signature of ```chiseMain``` is ```[T <: Module]``` so I can test one predefined module at time and I cannot have a factory of tests.\r\n"}}