{"action":"opened","issue":{"url":"https://api.github.com/repos/meteor/guide/issues/336","repository_url":"https://api.github.com/repos/meteor/guide","labels_url":"https://api.github.com/repos/meteor/guide/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/meteor/guide/issues/336/comments","events_url":"https://api.github.com/repos/meteor/guide/issues/336/events","html_url":"https://github.com/meteor/guide/issues/336","id":145501771,"number":336,"title":"Test documentation doesn't mention that tests in \"tests\" folder are ignored","user":{"login":"siegesmund","id":2533531,"avatar_url":"https://avatars.githubusercontent.com/u/2533531?v=3","gravatar_id":"","url":"https://api.github.com/users/siegesmund","html_url":"https://github.com/siegesmund","followers_url":"https://api.github.com/users/siegesmund/followers","following_url":"https://api.github.com/users/siegesmund/following{/other_user}","gists_url":"https://api.github.com/users/siegesmund/gists{/gist_id}","starred_url":"https://api.github.com/users/siegesmund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siegesmund/subscriptions","organizations_url":"https://api.github.com/users/siegesmund/orgs","repos_url":"https://api.github.com/users/siegesmund/repos","events_url":"https://api.github.com/users/siegesmund/events{/privacy}","received_events_url":"https://api.github.com/users/siegesmund/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-03T13:43:22Z","updated_at":"2016-04-03T13:43:22Z","closed_at":null,"body":"The current behavior seems to be to ignore tests in any folder called \"tests\". I believe that this behavior was to prevent tests being included in the build in prior Meteor versions. The documentation implies that any file that that complies with the specified naming convention will be loaded in test mode, regardless of the folder it's in. This should be clarified to avoid confusion.\r\n\r\n> This loads your application in a special \"test mode\". What this does is:\r\n> \r\n> Doesn't eagerly load any of our application code as Meteor normally would.\r\n> Does eagerly load any file in our application (including in imports/ folders) that look like *.test[s].*, or *.spec[s].*\r\n> Sets the Meteor.isTest flag to be true.\r\n> Starts up the test driver package (see below)."}}