{"action":"created","issue":{"url":"https://api.github.com/repos/techtalk/SpecFlow/issues/600","repository_url":"https://api.github.com/repos/techtalk/SpecFlow","labels_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/600/labels{/name}","comments_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/600/comments","events_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/600/events","html_url":"https://github.com/techtalk/SpecFlow/pull/600","id":153010468,"number":600,"title":"Added Changes to Allow for Mbunit Framework to run Scenarios in parallel ","user":{"login":"tmulkern","id":8748428,"avatar_url":"https://avatars.githubusercontent.com/u/8748428?v=3","gravatar_id":"","url":"https://api.github.com/users/tmulkern","html_url":"https://github.com/tmulkern","followers_url":"https://api.github.com/users/tmulkern/followers","following_url":"https://api.github.com/users/tmulkern/following{/other_user}","gists_url":"https://api.github.com/users/tmulkern/gists{/gist_id}","starred_url":"https://api.github.com/users/tmulkern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmulkern/subscriptions","organizations_url":"https://api.github.com/users/tmulkern/orgs","repos_url":"https://api.github.com/users/tmulkern/repos","events_url":"https://api.github.com/users/tmulkern/events{/privacy}","received_events_url":"https://api.github.com/users/tmulkern/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/techtalk/SpecFlow/labels/Yellow","name":"Yellow","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-04T13:22:00Z","updated_at":"2016-05-08T20:16:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/techtalk/SpecFlow/pulls/600","html_url":"https://github.com/techtalk/SpecFlow/pull/600","diff_url":"https://github.com/techtalk/SpecFlow/pull/600.diff","patch_url":"https://github.com/techtalk/SpecFlow/pull/600.patch"},"body":"# Added Changes to Allow for Mbunit Framework to run Scenarios in parallel \r\n\r\n## Background\r\n\r\nMbUnit has the ability to run Test Fixtures and Tests in Parallel. When a Test Fixture is set to run in Parallel it runs in a new Thread. When the Test is set to run in Parallel it runs in a new Thread. \r\n\r\n## Changes to `IContextManager.cs`\r\n\r\n- I moved InternalContextManager and StackedInternalContextManager, into separate classes and changed their signature from private to internal\r\n- I created a new interface `IInternalContextManager` and changed to ContextManager constructor to take and instance of `IInternalContextManager<FeatureContext>`, `IInternalContextManager<ScenarioContext>`,`IInternalContextManager<ScenarioStepContext>` therefore leaving Dependency Injection to set the concrete implementation.\r\n\r\n## Added `ThreadSafeInternalContextManagerWrapper.cs`\r\n\r\nThis class allows any of the concrete implementation of `IInternalContextManager` to be wrapped in a thread-safe implementation.\r\n\r\n## Changes to `IUnitTestRuntimeProvider.cs`\r\n\r\nAdded `RegisterContextManager` method, to register the `IInternalContextManager` implementations for each of the Unit Test Providers in the `IObjectContainer`\r\n\r\n## Changes to `TestRunContainerBuilder.cs`\r\n\r\nCalled `RegisterContextManager` for the loaded `IUnitTestRuntimeProvider.cs`\r\n\r\n## Added Tag called `Parallelizable`\r\n\r\n To mark a Feature or Scenario as Parallelizable and added the Parallelizable Attribute in the generated code\r\n\r\n## Added Assorted Tests\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/techtalk/SpecFlow/issues/comments/217743565","html_url":"https://github.com/techtalk/SpecFlow/pull/600#issuecomment-217743565","issue_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/600","id":217743565,"user":{"login":"tmulkern","id":8748428,"avatar_url":"https://avatars.githubusercontent.com/u/8748428?v=3","gravatar_id":"","url":"https://api.github.com/users/tmulkern","html_url":"https://github.com/tmulkern","followers_url":"https://api.github.com/users/tmulkern/followers","following_url":"https://api.github.com/users/tmulkern/following{/other_user}","gists_url":"https://api.github.com/users/tmulkern/gists{/gist_id}","starred_url":"https://api.github.com/users/tmulkern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmulkern/subscriptions","organizations_url":"https://api.github.com/users/tmulkern/orgs","repos_url":"https://api.github.com/users/tmulkern/repos","events_url":"https://api.github.com/users/tmulkern/events{/privacy}","received_events_url":"https://api.github.com/users/tmulkern/received_events","type":"User","site_admin":false},"created_at":"2016-05-08T20:16:23Z","updated_at":"2016-05-08T20:16:23Z","body":"@darrencauthon Thanks for the explanation, I just wondering what was involved. Appreciate it"}}