{"action":"created","issue":{"url":"https://api.github.com/repos/xunit/xunit/issues/717","labels_url":"https://api.github.com/repos/xunit/xunit/issues/717/labels{/name}","comments_url":"https://api.github.com/repos/xunit/xunit/issues/717/comments","events_url":"https://api.github.com/repos/xunit/xunit/issues/717/events","html_url":"https://github.com/xunit/xunit/issues/717","id":123204358,"number":717,"title":"Provide access to IRunContext inside test cases","user":{"login":"AlexanderSher","id":8933858,"avatar_url":"https://avatars.githubusercontent.com/u/8933858?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderSher","html_url":"https://github.com/AlexanderSher","followers_url":"https://api.github.com/users/AlexanderSher/followers","following_url":"https://api.github.com/users/AlexanderSher/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderSher/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderSher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderSher/subscriptions","organizations_url":"https://api.github.com/users/AlexanderSher/orgs","repos_url":"https://api.github.com/users/AlexanderSher/repos","events_url":"https://api.github.com/users/AlexanderSher/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderSher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-21T03:31:26Z","updated_at":"2015-12-22T04:54:41Z","closed_at":null,"body":"It will be useful for tests that have to produce custom artifacts and/or use file-based input to have access to `IRunContext.SolutionDirectory` and `IRunContext.TestRunDirectory`. Currently there is a workaround based on assembly location, but it may not work on build server if binaries are deployed into folder that isn't relative to solution."},"comment":{"url":"https://api.github.com/repos/xunit/xunit/issues/comments/166504783","html_url":"https://github.com/xunit/xunit/issues/717#issuecomment-166504783","issue_url":"https://api.github.com/repos/xunit/xunit/issues/717","id":166504783,"user":{"login":"AlexanderSher","id":8933858,"avatar_url":"https://avatars.githubusercontent.com/u/8933858?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderSher","html_url":"https://github.com/AlexanderSher","followers_url":"https://api.github.com/users/AlexanderSher/followers","following_url":"https://api.github.com/users/AlexanderSher/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderSher/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderSher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderSher/subscriptions","organizations_url":"https://api.github.com/users/AlexanderSher/orgs","repos_url":"https://api.github.com/users/AlexanderSher/repos","events_url":"https://api.github.com/users/AlexanderSher/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderSher/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T04:54:41Z","updated_at":"2015-12-22T04:54:41Z","body":"I meant `Microsoft.VisualStudio.TestTools.Execution.IRunContext`, which is passed to `ITestExecutor.RunTests`. "}}