{"action":"created","issue":{"url":"https://api.github.com/repos/seattlerb/minitest/issues/523","labels_url":"https://api.github.com/repos/seattlerb/minitest/issues/523/labels{/name}","comments_url":"https://api.github.com/repos/seattlerb/minitest/issues/523/comments","events_url":"https://api.github.com/repos/seattlerb/minitest/issues/523/events","html_url":"https://github.com/seattlerb/minitest/issues/523","id":69380940,"number":523,"title":"Different test names for a single test case in the test result","user":{"login":"leo-altiscale","id":11167652,"avatar_url":"https://avatars.githubusercontent.com/u/11167652?v=3","gravatar_id":"","url":"https://api.github.com/users/leo-altiscale","html_url":"https://github.com/leo-altiscale","followers_url":"https://api.github.com/users/leo-altiscale/followers","following_url":"https://api.github.com/users/leo-altiscale/following{/other_user}","gists_url":"https://api.github.com/users/leo-altiscale/gists{/gist_id}","starred_url":"https://api.github.com/users/leo-altiscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leo-altiscale/subscriptions","organizations_url":"https://api.github.com/users/leo-altiscale/orgs","repos_url":"https://api.github.com/users/leo-altiscale/repos","events_url":"https://api.github.com/users/leo-altiscale/events{/privacy}","received_events_url":"https://api.github.com/users/leo-altiscale/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-19T04:14:24Z","updated_at":"2015-04-19T06:13:14Z","closed_at":null,"body":"Hi \r\n\r\n  I have a selenium test case named - test_linux_os_section, by pass different params to the test, this test will be able to written once and run on different environments (different browser+os combinations).\r\n\r\n  My question, if I run this test_linux_os_section on 5 different envs, in the console report I will have something below, the test case name will all be the same - test_linux_os_section, cuz the test method written once BUT can run on different envs by pass different params\r\n\r\n   test_linux_os_section   PASS\r\n   test_linux_os_section   PASS\r\n   test_linux_os_section   PASS\r\n   test_linux_os_section   PASS\r\n   test_linux_os_section   PASS\r\n\r\n  The 5 test case name will all be test_linux_os_section, BUT I want to distinguish the 5 tests by the different envs where they run, something like below\r\n\r\n   test_linux_os_section-win-ff                      PASS\r\n   test_linux_os_section-osx-chrome            PASS\r\n   test_linux_os_section-osx-safari               PASS\r\n   test_linux_os_section-win-8                      PASS\r\n   test_linux_os_section-osx-ff                      PASS\r\n\r\n\r\n  Can give me some clue how I can achieve this by using minitest.\r\n\r\nThx so much"},"comment":{"url":"https://api.github.com/repos/seattlerb/minitest/issues/comments/94243611","html_url":"https://github.com/seattlerb/minitest/issues/523#issuecomment-94243611","issue_url":"https://api.github.com/repos/seattlerb/minitest/issues/523","id":94243611,"user":{"login":"zenspider","id":9832,"avatar_url":"https://avatars.githubusercontent.com/u/9832?v=3","gravatar_id":"","url":"https://api.github.com/users/zenspider","html_url":"https://github.com/zenspider","followers_url":"https://api.github.com/users/zenspider/followers","following_url":"https://api.github.com/users/zenspider/following{/other_user}","gists_url":"https://api.github.com/users/zenspider/gists{/gist_id}","starred_url":"https://api.github.com/users/zenspider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenspider/subscriptions","organizations_url":"https://api.github.com/users/zenspider/orgs","repos_url":"https://api.github.com/users/zenspider/repos","events_url":"https://api.github.com/users/zenspider/events{/privacy}","received_events_url":"https://api.github.com/users/zenspider/received_events","type":"User","site_admin":false},"created_at":"2015-04-19T06:13:14Z","updated_at":"2015-04-19T06:13:14Z","body":"```ruby\r\nenvs.each do |env|\r\n  define_method \"test_linux_os_section-#{env}\" do\r\n    # ...\r\n  end\r\nend\r\n```"}}