{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4461","repository_url":"https://api.github.com/repos/ember-cli/ember-cli","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4461/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4461/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4461/events","html_url":"https://github.com/ember-cli/ember-cli/issues/4461","id":95261255,"number":4461,"title":"Add support for in-repo-addon tests","user":{"login":"SaladFork","id":107798,"avatar_url":"https://avatars.githubusercontent.com/u/107798?v=3","gravatar_id":"","url":"https://api.github.com/users/SaladFork","html_url":"https://github.com/SaladFork","followers_url":"https://api.github.com/users/SaladFork/followers","following_url":"https://api.github.com/users/SaladFork/following{/other_user}","gists_url":"https://api.github.com/users/SaladFork/gists{/gist_id}","starred_url":"https://api.github.com/users/SaladFork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaladFork/subscriptions","organizations_url":"https://api.github.com/users/SaladFork/orgs","repos_url":"https://api.github.com/users/SaladFork/repos","events_url":"https://api.github.com/users/SaladFork/events{/privacy}","received_events_url":"https://api.github.com/users/SaladFork/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ember-cli/ember-cli/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-15T18:34:02Z","updated_at":"2016-02-17T20:05:34Z","closed_at":null,"body":"> tests inside an in-repo-addon aren't picked up currently, which is why they're added to the tests folder for now, but I understand how that can cause possible conflicts\r\n> -- @trabus \r\n\r\nThe messaging for in-repo-addons is often \"they're just like full addons, with the only difference being where ember-cli looks for them.\" This is true in every regard but the tests.\r\n\r\nAlso affected, generators:\r\n```\r\n$ ember g component ember-calendar -ir calendar\r\n  create tests/unit/components/ember-calendar-test.js\r\n```"},"comment":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/comments/185380458","html_url":"https://github.com/ember-cli/ember-cli/issues/4461#issuecomment-185380458","issue_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4461","id":185380458,"user":{"login":"trentmwillis","id":3526753,"avatar_url":"https://avatars.githubusercontent.com/u/3526753?v=3","gravatar_id":"","url":"https://api.github.com/users/trentmwillis","html_url":"https://github.com/trentmwillis","followers_url":"https://api.github.com/users/trentmwillis/followers","following_url":"https://api.github.com/users/trentmwillis/following{/other_user}","gists_url":"https://api.github.com/users/trentmwillis/gists{/gist_id}","starred_url":"https://api.github.com/users/trentmwillis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trentmwillis/subscriptions","organizations_url":"https://api.github.com/users/trentmwillis/orgs","repos_url":"https://api.github.com/users/trentmwillis/repos","events_url":"https://api.github.com/users/trentmwillis/events{/privacy}","received_events_url":"https://api.github.com/users/trentmwillis/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T20:05:34Z","updated_at":"2016-02-17T20:05:34Z","body":"Reviving this issue to see if we can make some progress.\r\n\r\nWhat is the desired behavior here? Assuming I have my tests inside my in-repo-addon's directory, should they be totally separate? Meaning that they will run in a totally different test suite and be setup with a `dummy` app and so forth. I feel that is overkill but it might make the most sense. You'd run the tests via something like `ember test -ir my-addon`.\r\n\r\nOr, should the tests just be bundled into the consuming app's test suite? I feel this behavior could make sense as the in-repo-addon is likely coupled to the app. It would also save us from having to duplicate test helpers between the main application and any in-repo-addons. I'm not sure which approach is better/more correct.\r\n\r\ncc @pete-the-pete"}}