{"action":"created","issue":{"url":"https://api.github.com/repos/bbatsov/projectile/issues/1019","repository_url":"https://api.github.com/repos/bbatsov/projectile","labels_url":"https://api.github.com/repos/bbatsov/projectile/issues/1019/labels{/name}","comments_url":"https://api.github.com/repos/bbatsov/projectile/issues/1019/comments","events_url":"https://api.github.com/repos/bbatsov/projectile/issues/1019/events","html_url":"https://github.com/bbatsov/projectile/issues/1019","id":159316449,"number":1019,"title":"Is there a way to jump to a test named the same way but in a different directory?","user":{"login":"blaenk","id":84680,"avatar_url":"https://avatars.githubusercontent.com/u/84680?v=3","gravatar_id":"","url":"https://api.github.com/users/blaenk","html_url":"https://github.com/blaenk","followers_url":"https://api.github.com/users/blaenk/followers","following_url":"https://api.github.com/users/blaenk/following{/other_user}","gists_url":"https://api.github.com/users/blaenk/gists{/gist_id}","starred_url":"https://api.github.com/users/blaenk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blaenk/subscriptions","organizations_url":"https://api.github.com/users/blaenk/orgs","repos_url":"https://api.github.com/users/blaenk/repos","events_url":"https://api.github.com/users/blaenk/events{/privacy}","received_events_url":"https://api.github.com/users/blaenk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-09T02:27:36Z","updated_at":"2016-11-23T15:22:23Z","closed_at":null,"body":"I've been looking through the code but it seems like the only way to influence the test file checker only considers the file base name. I'm currently in the situation where the project I'm working on arranges tests like this:\n- src/some-file.js\n- test/some-file.js\n\nIs there any way to teach projectile about this?\n"},"comment":{"url":"https://api.github.com/repos/bbatsov/projectile/issues/comments/262544306","html_url":"https://github.com/bbatsov/projectile/issues/1019#issuecomment-262544306","issue_url":"https://api.github.com/repos/bbatsov/projectile/issues/1019","id":262544306,"user":{"login":"jordonbiondo","id":1441728,"avatar_url":"https://avatars.githubusercontent.com/u/1441728?v=3","gravatar_id":"","url":"https://api.github.com/users/jordonbiondo","html_url":"https://github.com/jordonbiondo","followers_url":"https://api.github.com/users/jordonbiondo/followers","following_url":"https://api.github.com/users/jordonbiondo/following{/other_user}","gists_url":"https://api.github.com/users/jordonbiondo/gists{/gist_id}","starred_url":"https://api.github.com/users/jordonbiondo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordonbiondo/subscriptions","organizations_url":"https://api.github.com/users/jordonbiondo/orgs","repos_url":"https://api.github.com/users/jordonbiondo/repos","events_url":"https://api.github.com/users/jordonbiondo/events{/privacy}","received_events_url":"https://api.github.com/users/jordonbiondo/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T15:22:23Z","updated_at":"2016-11-23T15:22:23Z","body":"I began work on supporting ember-cli projects and ran into this same issue. The structure of ember-cli projects are well defined and the interface lends itself well to other parts of projectile, but not test-implementation jumping.\r\n\r\nI way to override the standard suffix/prefix matching behavior with something more full featured like a configurable hook would be great.\r\n\r\nIn ember you often have structures that look like this:\r\n\r\n```md\r\n- app\r\n  - user\r\n    - model.js\r\n  - thing\r\n    - model.js\r\n- test\r\n  - user\r\n    - model-test.js\r\n  - thing\r\n    - model-test.js\r\n```\r\n\r\nThese situations cause projectile to potentially jump to the wrong test file for a given implementation file if you added `-test` suffix support for the project type.\r\n\r\nIf we can agree on an approach to solve this issue, I'd be happy to work on a PR.\r\n  \r\n"}}
{"actor":{"display_login":"jordonbiondo"}}