{"action":"created","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/1085","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/1085/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/1085/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/1085/events","html_url":"https://github.com/Codeception/Codeception/issues/1085","id":35404892,"number":1085,"title":"Running Tests By Group","user":{"login":"TroyRudolph","id":7094455,"avatar_url":"https://avatars.githubusercontent.com/u/7094455?v=3","gravatar_id":"","url":"https://api.github.com/users/TroyRudolph","html_url":"https://github.com/TroyRudolph","followers_url":"https://api.github.com/users/TroyRudolph/followers","following_url":"https://api.github.com/users/TroyRudolph/following{/other_user}","gists_url":"https://api.github.com/users/TroyRudolph/gists{/gist_id}","starred_url":"https://api.github.com/users/TroyRudolph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TroyRudolph/subscriptions","organizations_url":"https://api.github.com/users/TroyRudolph/orgs","repos_url":"https://api.github.com/users/TroyRudolph/repos","events_url":"https://api.github.com/users/TroyRudolph/events{/privacy}","received_events_url":"https://api.github.com/users/TroyRudolph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-06-10T17:21:48Z","updated_at":"2015-04-09T00:02:40Z","closed_at":null,"body":"Hello.  The @group annotation permits us to all tests in a group.  Specifying multiple groups in the \"-g\" argument ORs the groups together.  Thus, specifying two groups causes all tests in the two groups to be executed. \r\n\r\nI would like to be able to AND the groups together.  For example, we will want to run all tests that are in group \"pre_deployment_regression\" and in group \"student_transcript\". \r\n\r\nOne way to do this would be to implement a \"-G\" option that would AND the groups together instead or ORing them together.  (Note the upper case \"G\".) \r\n\r\nDo you think this could be implemented?\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/comments/91072926","html_url":"https://github.com/Codeception/Codeception/issues/1085#issuecomment-91072926","issue_url":"https://api.github.com/repos/Codeception/Codeception/issues/1085","id":91072926,"user":{"login":"zbateson","id":8356974,"avatar_url":"https://avatars.githubusercontent.com/u/8356974?v=3","gravatar_id":"","url":"https://api.github.com/users/zbateson","html_url":"https://github.com/zbateson","followers_url":"https://api.github.com/users/zbateson/followers","following_url":"https://api.github.com/users/zbateson/following{/other_user}","gists_url":"https://api.github.com/users/zbateson/gists{/gist_id}","starred_url":"https://api.github.com/users/zbateson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbateson/subscriptions","organizations_url":"https://api.github.com/users/zbateson/orgs","repos_url":"https://api.github.com/users/zbateson/repos","events_url":"https://api.github.com/users/zbateson/events{/privacy}","received_events_url":"https://api.github.com/users/zbateson/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T00:02:40Z","updated_at":"2015-04-09T00:02:40Z","body":"Not sure I understand the difference in the explanation between \"AND\" and \"OR\".\r\n\r\n```Specifying multiple groups in the \"-g\" argument ORs the groups together. Thus, specifying two groups causes all tests in the two groups to be executed.```\r\n\r\nAnd:\r\n\r\n```I would like to be able to AND the groups together. For example, we will want to run all tests that are in group \"pre_deployment_regression\" and in group \"student_transcript\". ```\r\n\r\nAren't those the same things?  Both will run all tests in the groups - I must be missing something!"}}