{"action":"opened","issue":{"url":"https://api.github.com/repos/mochajs/mocha/issues/1577","labels_url":"https://api.github.com/repos/mochajs/mocha/issues/1577/labels{/name}","comments_url":"https://api.github.com/repos/mochajs/mocha/issues/1577/comments","events_url":"https://api.github.com/repos/mochajs/mocha/issues/1577/events","html_url":"https://github.com/mochajs/mocha/issues/1577","id":59808032,"number":1577,"title":"Option exclude certain files by pattern when testing recursively","user":{"login":"KylePDavis","id":1820410,"avatar_url":"https://avatars.githubusercontent.com/u/1820410?v=3","gravatar_id":"","url":"https://api.github.com/users/KylePDavis","html_url":"https://github.com/KylePDavis","followers_url":"https://api.github.com/users/KylePDavis/followers","following_url":"https://api.github.com/users/KylePDavis/following{/other_user}","gists_url":"https://api.github.com/users/KylePDavis/gists{/gist_id}","starred_url":"https://api.github.com/users/KylePDavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KylePDavis/subscriptions","organizations_url":"https://api.github.com/users/KylePDavis/orgs","repos_url":"https://api.github.com/users/KylePDavis/repos","events_url":"https://api.github.com/users/KylePDavis/events{/privacy}","received_events_url":"https://api.github.com/users/KylePDavis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-04T14:52:35Z","updated_at":"2015-03-04T14:52:35Z","closed_at":null,"body":"I would like the ability to provide an exclusion pattern so that I can only test files that match my test file pattern. This would allow data files to coexist with test files so long as they follow a reasonable pattern.\r\n\r\nI think this would be simply providing an option that sets `ignore` option in `glob`.\r\n\r\nThoughts? I can make a PR for it real quick if you'd like."}}