{"action":"opened","issue":{"url":"https://api.github.com/repos/gradle/gradle/issues/6753","repository_url":"https://api.github.com/repos/gradle/gradle","labels_url":"https://api.github.com/repos/gradle/gradle/issues/6753/labels{/name}","comments_url":"https://api.github.com/repos/gradle/gradle/issues/6753/comments","events_url":"https://api.github.com/repos/gradle/gradle/issues/6753/events","html_url":"https://github.com/gradle/gradle/issues/6753","id":360150809,"node_id":"MDU6SXNzdWUzNjAxNTA4MDk=","number":6753,"title":"Launching Gradle repo integTest tests in IntelliJ runs wrong task","user":{"login":"JLLeitschuh","id":1323708,"node_id":"MDQ6VXNlcjEzMjM3MDg=","avatar_url":"https://avatars2.githubusercontent.com/u/1323708?v=4","gravatar_id":"","url":"https://api.github.com/users/JLLeitschuh","html_url":"https://github.com/JLLeitschuh","followers_url":"https://api.github.com/users/JLLeitschuh/followers","following_url":"https://api.github.com/users/JLLeitschuh/following{/other_user}","gists_url":"https://api.github.com/users/JLLeitschuh/gists{/gist_id}","starred_url":"https://api.github.com/users/JLLeitschuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JLLeitschuh/subscriptions","organizations_url":"https://api.github.com/users/JLLeitschuh/orgs","repos_url":"https://api.github.com/users/JLLeitschuh/repos","events_url":"https://api.github.com/users/JLLeitschuh/events{/privacy}","received_events_url":"https://api.github.com/users/JLLeitschuh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-14T04:16:23Z","updated_at":"2018-09-14T04:16:23Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Example: Attempt to launch the `org.gradle.api.SettingsDslIntegrationSpec` test in IntelliJ.\r\n\r\n### Expected Behavior\r\n\r\nIntelliJ will attempt to launch the task `:core:cleanTest :core:integTest` with the arguments `--tests org.gradle.api.SettingsDslIntegrationSpec`.\r\n\r\n### Current Behavior\r\n\r\nIntelliJ will attempt to launch the task `:core:cleanTest :core:test` with the arguments `--tests org.gradle.api.SettingsDslIntegrationSpec`.\r\n\r\nThis fails without being able to find any tests because the `SettingsDslIntegrationSpec` doesn't exist under the `test` source set.\r\n\r\n### Context\r\n\r\nYou have to know to go change your Gradle launch arguments for the test to launch the `:integTest` task instead of the `:test` task.\r\n\r\nGradle/IntelliJ should automatically figure out what task to try to launch the test with.\r\n\r\n### Your Environment\r\n\r\nThe current status of the Gradle `master` branch."}}
{"actor":{"display_login":"JLLeitschuh"}}