{"action":"created","issue":{"url":"https://api.github.com/repos/nunit/nunit/issues/1264","repository_url":"https://api.github.com/repos/nunit/nunit","labels_url":"https://api.github.com/repos/nunit/nunit/issues/1264/labels{/name}","comments_url":"https://api.github.com/repos/nunit/nunit/issues/1264/comments","events_url":"https://api.github.com/repos/nunit/nunit/issues/1264/events","html_url":"https://github.com/nunit/nunit/pull/1264","id":133411686,"number":1264,"title":"Test order","user":{"login":"dicko2","id":15168410,"avatar_url":"https://avatars.githubusercontent.com/u/15168410?v=3","gravatar_id":"","url":"https://api.github.com/users/dicko2","html_url":"https://github.com/dicko2","followers_url":"https://api.github.com/users/dicko2/followers","following_url":"https://api.github.com/users/dicko2/following{/other_user}","gists_url":"https://api.github.com/users/dicko2/gists{/gist_id}","starred_url":"https://api.github.com/users/dicko2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dicko2/subscriptions","organizations_url":"https://api.github.com/users/dicko2/orgs","repos_url":"https://api.github.com/users/dicko2/repos","events_url":"https://api.github.com/users/dicko2/events{/privacy}","received_events_url":"https://api.github.com/users/dicko2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":38,"created_at":"2016-02-13T07:51:31Z","updated_at":"2016-02-22T00:56:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nunit/nunit/pulls/1264","html_url":"https://github.com/nunit/nunit/pull/1264","diff_url":"https://github.com/nunit/nunit/pull/1264.diff","patch_url":"https://github.com/nunit/nunit/pull/1264.patch"},"body":"This is based on the example code given here\r\n\r\nhttps://github.com/nunit/nunit/issues/51#issuecomment-64908239\r\n\r\nFor issue #170\r\n\r\nI originally did the same as issue 170, i.e. [TestOrder(1)], but revised this as later in the issues 170 it refers to 51 to get example code so i have implemented it like this [Test(Order = 1)]\r\n\r\nI can move it back to the former if you like, i still have in my commit history.\r\n\r\nI've implemented it as a double as well, I have change to an int but I think this is warranted by the comments in 170.\r\n\r\nAlso to note that I am unsure what to do when tests are mixed with and without orders? Currently its defaulting to 0, so it will technically run Tests without order specified first when mixed, i could change this to MaxInt or something so they would be run last, it's a bit subjective over which one to use so didn't know what to do.\r\n\r\nIf tests have the same order it will run in order of the test name.\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nunit/nunit/issues/comments/186955363","html_url":"https://github.com/nunit/nunit/pull/1264#issuecomment-186955363","issue_url":"https://api.github.com/repos/nunit/nunit/issues/1264","id":186955363,"user":{"login":"dicko2","id":15168410,"avatar_url":"https://avatars.githubusercontent.com/u/15168410?v=3","gravatar_id":"","url":"https://api.github.com/users/dicko2","html_url":"https://github.com/dicko2","followers_url":"https://api.github.com/users/dicko2/followers","following_url":"https://api.github.com/users/dicko2/following{/other_user}","gists_url":"https://api.github.com/users/dicko2/gists{/gist_id}","starred_url":"https://api.github.com/users/dicko2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dicko2/subscriptions","organizations_url":"https://api.github.com/users/dicko2/orgs","repos_url":"https://api.github.com/users/dicko2/repos","events_url":"https://api.github.com/users/dicko2/events{/privacy}","received_events_url":"https://api.github.com/users/dicko2/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T00:56:54Z","updated_at":"2016-02-22T00:56:54Z","body":"@oznetmaster I believe dependencies are going to be done as a separate feature to ordering.\r\n\r\nHowever I do think that a data type like double would be more flexible, in case you end up in a jam."}}