{"action":"created","issue":{"url":"https://api.github.com/repos/nunit/nunit/issues/1089","labels_url":"https://api.github.com/repos/nunit/nunit/issues/1089/labels{/name}","comments_url":"https://api.github.com/repos/nunit/nunit/issues/1089/comments","events_url":"https://api.github.com/repos/nunit/nunit/issues/1089/events","html_url":"https://github.com/nunit/nunit/issues/1089","id":119359680,"number":1089,"title":"OneTimeSetUp is not fired","user":{"login":"OlgaCoop","id":15814444,"avatar_url":"https://avatars.githubusercontent.com/u/15814444?v=3","gravatar_id":"","url":"https://api.github.com/users/OlgaCoop","html_url":"https://github.com/OlgaCoop","followers_url":"https://api.github.com/users/OlgaCoop/followers","following_url":"https://api.github.com/users/OlgaCoop/following{/other_user}","gists_url":"https://api.github.com/users/OlgaCoop/gists{/gist_id}","starred_url":"https://api.github.com/users/OlgaCoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlgaCoop/subscriptions","organizations_url":"https://api.github.com/users/OlgaCoop/orgs","repos_url":"https://api.github.com/users/OlgaCoop/repos","events_url":"https://api.github.com/users/OlgaCoop/events{/privacy}","received_events_url":"https://api.github.com/users/OlgaCoop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-29T13:09:23Z","updated_at":"2015-11-29T17:34:44Z","closed_at":null,"body":"I use NUnit 3.0 and run it in Visual Studio 2012.\r\nSeems method with attribute OneTimeSetUp is never fired.\r\n  \r\n    [TestFixture]\r\n    public class InitializationTest\r\n    {\r\n        private string _initString;\r\n\r\n        [OneTimeSetUp]\r\n        public void Init()\r\n        {\r\n            _initString = \"Init it\";\r\n        }\r\n\r\n        [Test]\r\n        public void InitCheckTest()\r\n        {\r\n            Assert.AreEqual(\"Init it\", _initString);\r\n        }\r\n    }\r\n"},"comment":{"url":"https://api.github.com/repos/nunit/nunit/issues/comments/160434637","html_url":"https://github.com/nunit/nunit/issues/1089#issuecomment-160434637","issue_url":"https://api.github.com/repos/nunit/nunit/issues/1089","id":160434637,"user":{"login":"CharliePoole","id":2678661,"avatar_url":"https://avatars.githubusercontent.com/u/2678661?v=3","gravatar_id":"","url":"https://api.github.com/users/CharliePoole","html_url":"https://github.com/CharliePoole","followers_url":"https://api.github.com/users/CharliePoole/followers","following_url":"https://api.github.com/users/CharliePoole/following{/other_user}","gists_url":"https://api.github.com/users/CharliePoole/gists{/gist_id}","starred_url":"https://api.github.com/users/CharliePoole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CharliePoole/subscriptions","organizations_url":"https://api.github.com/users/CharliePoole/orgs","repos_url":"https://api.github.com/users/CharliePoole/repos","events_url":"https://api.github.com/users/CharliePoole/events{/privacy}","received_events_url":"https://api.github.com/users/CharliePoole/received_events","type":"User","site_admin":false},"created_at":"2015-11-29T17:34:44Z","updated_at":"2015-11-29T17:34:44Z","body":"Or the console runner. :-)\r\n\r\nSpecifically, since NUnit 3.0 just came out you should not expect any third-party runner to support it yet. If you use such a runner, encourage them to support us!"}}