{"action":"created","issue":{"url":"https://api.github.com/repos/nunit/nunit/issues/556","labels_url":"https://api.github.com/repos/nunit/nunit/issues/556/labels{/name}","comments_url":"https://api.github.com/repos/nunit/nunit/issues/556/comments","events_url":"https://api.github.com/repos/nunit/nunit/issues/556/events","html_url":"https://github.com/nunit/nunit/issues/556","id":63441856,"number":556,"title":"Executed tests should always return a non-zero duration","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},"labels":[{"url":"https://api.github.com/repos/nunit/nunit/labels/is:bug","name":"is:bug","color":"fc2929"},{"url":"https://api.github.com/repos/nunit/nunit/labels/pri:normal","name":"pri:normal","color":"0052cc"},{"url":"https://api.github.com/repos/nunit/nunit/labels/status:review","name":"status:review","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"rprouse","id":493828,"avatar_url":"https://avatars.githubusercontent.com/u/493828?v=3","gravatar_id":"","url":"https://api.github.com/users/rprouse","html_url":"https://github.com/rprouse","followers_url":"https://api.github.com/users/rprouse/followers","following_url":"https://api.github.com/users/rprouse/following{/other_user}","gists_url":"https://api.github.com/users/rprouse/gists{/gist_id}","starred_url":"https://api.github.com/users/rprouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rprouse/subscriptions","organizations_url":"https://api.github.com/users/rprouse/orgs","repos_url":"https://api.github.com/users/rprouse/repos","events_url":"https://api.github.com/users/rprouse/events{/privacy}","received_events_url":"https://api.github.com/users/rprouse/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/nunit/nunit/milestones/10","html_url":"https://github.com/nunit/nunit/milestones/3.0Beta2","labels_url":"https://api.github.com/repos/nunit/nunit/milestones/10/labels","id":1018545,"number":10,"title":"3.0Beta2","description":"","creator":{"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},"open_issues":19,"closed_issues":27,"state":"open","created_at":"2015-03-12T16:18:46Z","updated_at":"2015-05-05T16:35:34Z","due_on":"2015-05-16T04:00:00Z","closed_at":null},"comments":6,"created_at":"2015-03-21T19:03:11Z","updated_at":"2015-05-05T22:36:58Z","closed_at":null,"body":"Runners like the vs adapter get confused when a test runs in zero time. In the case of VS, the test is listed as not run, even if it succeeded or failed. We deal with this in the adapter by replacing the duration with the equivalent of a single tick.\r\n\r\nIt would be  desirable if NUnit returned a non-zero duration in all such cases. This could be the equivalent of a tick, or the lowest representable value in seconds, or some special value that the runner can interpret."},"comment":{"url":"https://api.github.com/repos/nunit/nunit/issues/comments/99251788","html_url":"https://github.com/nunit/nunit/issues/556#issuecomment-99251788","issue_url":"https://api.github.com/repos/nunit/nunit/issues/556","id":99251788,"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-05-05T22:36:58Z","updated_at":"2015-05-05T22:36:58Z","body":"Exactly. And in fact, older windows machines used to give a resolution of something like 17 ms.\r\n\r\nThe real question is \"Does anyone have a machine that gives a resolution better than 1ms?\" If so, we should focus more on this. If not, I think we can be happy with 1ms, at least for the moment."}}