{"action":"created","issue":{"url":"https://api.github.com/repos/jakemcc/lein-test-refresh/issues/41","labels_url":"https://api.github.com/repos/jakemcc/lein-test-refresh/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/jakemcc/lein-test-refresh/issues/41/comments","events_url":"https://api.github.com/repos/jakemcc/lein-test-refresh/issues/41/events","html_url":"https://github.com/jakemcc/lein-test-refresh/issues/41","id":103921079,"number":41,"title":"rerun just one namespace","user":{"login":"thirdreplicator","id":90335,"avatar_url":"https://avatars.githubusercontent.com/u/90335?v=3","gravatar_id":"","url":"https://api.github.com/users/thirdreplicator","html_url":"https://github.com/thirdreplicator","followers_url":"https://api.github.com/users/thirdreplicator/followers","following_url":"https://api.github.com/users/thirdreplicator/following{/other_user}","gists_url":"https://api.github.com/users/thirdreplicator/gists{/gist_id}","starred_url":"https://api.github.com/users/thirdreplicator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thirdreplicator/subscriptions","organizations_url":"https://api.github.com/users/thirdreplicator/orgs","repos_url":"https://api.github.com/users/thirdreplicator/repos","events_url":"https://api.github.com/users/thirdreplicator/events{/privacy}","received_events_url":"https://api.github.com/users/thirdreplicator/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-30T12:32:02Z","updated_at":"2015-09-01T00:17:55Z","closed_at":null,"body":"Is there a way to run just one namespace worth of tests at the command line like you can with\r\n\r\n    lein test com.example.test-widgets\r\n\r\nIt would be nice if we could do\r\n\r\n    lein test-refresh com.example.test-widgets\r\n\r\nand have the tests keep running for that namespace.\r\n"},"comment":{"url":"https://api.github.com/repos/jakemcc/lein-test-refresh/issues/comments/136533661","html_url":"https://github.com/jakemcc/lein-test-refresh/issues/41#issuecomment-136533661","issue_url":"https://api.github.com/repos/jakemcc/lein-test-refresh/issues/41","id":136533661,"user":{"login":"thirdreplicator","id":90335,"avatar_url":"https://avatars.githubusercontent.com/u/90335?v=3","gravatar_id":"","url":"https://api.github.com/users/thirdreplicator","html_url":"https://github.com/thirdreplicator","followers_url":"https://api.github.com/users/thirdreplicator/followers","following_url":"https://api.github.com/users/thirdreplicator/following{/other_user}","gists_url":"https://api.github.com/users/thirdreplicator/gists{/gist_id}","starred_url":"https://api.github.com/users/thirdreplicator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thirdreplicator/subscriptions","organizations_url":"https://api.github.com/users/thirdreplicator/orgs","repos_url":"https://api.github.com/users/thirdreplicator/repos","events_url":"https://api.github.com/users/thirdreplicator/events{/privacy}","received_events_url":"https://api.github.com/users/thirdreplicator/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T00:17:55Z","updated_at":"2015-09-01T00:17:55Z","body":"That sounds pretty convenient.   Do I have to restart (CTRL-C then lein\ntest-refresh) if I move the ^:focused meta data to another test?\n\nOn Mon, Aug 31, 2015 at 9:10 AM, Jake McCrary <notifications@github.com>\nwrote:\n\n> Specifying a namespace currently isn't supported.\n>\n> What you can do is add a :test-selector to your profiles.clj and then add\n> metadata to the namespace you want to isolate.\n>\n> If I want to do this I usually define a selector like :test-selectors\n> {:focused :focused} in my project.clj. This allows me to add ^:focused to\n> deftest or ns forms and only run those tests in by running lein\n> test-refresh :focused.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/jakemcc/lein-test-refresh/issues/41#issuecomment-136417109>\n> .\n>\n"}}