{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/17231","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/17231/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/17231/comments","events_url":"https://api.github.com/repos/golang/go/issues/17231/events","html_url":"https://github.com/golang/go/issues/17231","id":179127772,"number":17231,"title":"proposal: testing: Export Name of Test or Benchmark","user":{"login":"sgerhardt","id":4251684,"avatar_url":"https://avatars.githubusercontent.com/u/4251684?v=3","gravatar_id":"","url":"https://api.github.com/users/sgerhardt","html_url":"https://github.com/sgerhardt","followers_url":"https://api.github.com/users/sgerhardt/followers","following_url":"https://api.github.com/users/sgerhardt/following{/other_user}","gists_url":"https://api.github.com/users/sgerhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/sgerhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgerhardt/subscriptions","organizations_url":"https://api.github.com/users/sgerhardt/orgs","repos_url":"https://api.github.com/users/sgerhardt/repos","events_url":"https://api.github.com/users/sgerhardt/events{/privacy}","received_events_url":"https://api.github.com/users/sgerhardt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/golang/go/labels/Proposal","name":"Proposal","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-09-26T02:39:20Z","updated_at":"2016-09-28T03:02:16Z","closed_at":null,"body":"### What version of Go are you using (`go version`)?\r\n1.7\r\n\r\n### What operating system and processor architecture are you using (`go env`)?\r\n windows/amd64\r\n\r\n### What did you do?\r\nCan't get a test name without using reflection or hard-coding name.\r\nTest name is not exported https://github.com/golang/go/blob/master/src/testing/testing.go#L269.\r\n\r\n### What did you expect to see?\r\nThe test name exported.\r\ne.g.\r\n```\r\nfunc TestSomething(t *testing.T) {\r\n    t.Log(t.Name())\r\n...\r\n}\r\n```\r\n### What did you see instead?\r\nNon-exported test name.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/250059782","html_url":"https://github.com/golang/go/issues/17231#issuecomment-250059782","issue_url":"https://api.github.com/repos/golang/go/issues/17231","id":250059782,"user":{"login":"adg","id":8446613,"avatar_url":"https://avatars.githubusercontent.com/u/8446613?v=3","gravatar_id":"","url":"https://api.github.com/users/adg","html_url":"https://github.com/adg","followers_url":"https://api.github.com/users/adg/followers","following_url":"https://api.github.com/users/adg/following{/other_user}","gists_url":"https://api.github.com/users/adg/gists{/gist_id}","starred_url":"https://api.github.com/users/adg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adg/subscriptions","organizations_url":"https://api.github.com/users/adg/orgs","repos_url":"https://api.github.com/users/adg/repos","events_url":"https://api.github.com/users/adg/events{/privacy}","received_events_url":"https://api.github.com/users/adg/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T03:02:16Z","updated_at":"2016-09-28T03:02:16Z","body":"A \"change list\" (see the [contribution docs](https://golang.org/doc/contribute.html#change)). But this is so simple that I'll do it, to save you the trouble of setting up a dev environment."}}
{"actor":{"display_login":"adg"}}