{"action":"created","issue":{"url":"https://api.github.com/repos/rebar/rebar/issues/473","labels_url":"https://api.github.com/repos/rebar/rebar/issues/473/labels{/name}","comments_url":"https://api.github.com/repos/rebar/rebar/issues/473/comments","events_url":"https://api.github.com/repos/rebar/rebar/issues/473/events","html_url":"https://github.com/rebar/rebar/pull/473","id":66436464,"number":473,"title":"Add options 'groups' and 'cases' to 'ct' command","user":{"login":"RubberCthulhu","id":863479,"avatar_url":"https://avatars.githubusercontent.com/u/863479?v=3","gravatar_id":"","url":"https://api.github.com/users/RubberCthulhu","html_url":"https://github.com/RubberCthulhu","followers_url":"https://api.github.com/users/RubberCthulhu/followers","following_url":"https://api.github.com/users/RubberCthulhu/following{/other_user}","gists_url":"https://api.github.com/users/RubberCthulhu/gists{/gist_id}","starred_url":"https://api.github.com/users/RubberCthulhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RubberCthulhu/subscriptions","organizations_url":"https://api.github.com/users/RubberCthulhu/orgs","repos_url":"https://api.github.com/users/RubberCthulhu/repos","events_url":"https://api.github.com/users/RubberCthulhu/events{/privacy}","received_events_url":"https://api.github.com/users/RubberCthulhu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-05T12:57:27Z","updated_at":"2015-04-07T19:50:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rebar/rebar/pulls/473","html_url":"https://github.com/rebar/rebar/pull/473","diff_url":"https://github.com/rebar/rebar/pull/473.diff","patch_url":"https://github.com/rebar/rebar/pull/473.patch"},"body":"* Add an option `groups` to `rebar ct` command. So the command \r\n`rebar ct suites=Suite1 groups=Group1,Group2,...,GroupN`\r\nis equal to \r\n`ct_run -suite Suite1_SUITE -group Group1 Group2 ... GroupN` \r\nIt allows to run specified test groups in specified test suite with Common Test tool. Besides it is absolutely necessary to specify groups for running test cases which are included in these groups, otherwise `init_per_group/2` and `end_per_group/1` callbacks are not called by `ct_run`.\r\n\r\n* Add an option `cases` to `rebar ct` command. So the command \r\n`rebar ct suites=Suite1 cases=Case1,Case2,...,CaseN` \r\nis equal to \r\n`ct_run -suite Suite1_SUITE -case Case1 Case2 ... CaseN` \r\nIt allows to run one or more test cases in specified test suite. Currently `rebar` has an option `case` which allows to run only one test case. The option `case` is remained for backward compability. It's suggested to consider the option `case` as deprecated and is recommended to use `cases` instead.\r\n\r\n* Update help messages according to new command line options."},"comment":{"url":"https://api.github.com/repos/rebar/rebar/issues/comments/90712032","html_url":"https://github.com/rebar/rebar/pull/473#issuecomment-90712032","issue_url":"https://api.github.com/repos/rebar/rebar/issues/473","id":90712032,"user":{"login":"tuncer","id":4232,"avatar_url":"https://avatars.githubusercontent.com/u/4232?v=3","gravatar_id":"","url":"https://api.github.com/users/tuncer","html_url":"https://github.com/tuncer","followers_url":"https://api.github.com/users/tuncer/followers","following_url":"https://api.github.com/users/tuncer/following{/other_user}","gists_url":"https://api.github.com/users/tuncer/gists{/gist_id}","starred_url":"https://api.github.com/users/tuncer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuncer/subscriptions","organizations_url":"https://api.github.com/users/tuncer/orgs","repos_url":"https://api.github.com/users/tuncer/repos","events_url":"https://api.github.com/users/tuncer/events{/privacy}","received_events_url":"https://api.github.com/users/tuncer/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T19:50:11Z","updated_at":"2015-04-07T19:50:11Z","body":"@ferd to be clear, are you saying we should deprecate?"}}